avutil/fifo: Fix the case where func() returns less bytes than requested in av_fifo_g...
authorZhang Rui <bbcallen@gmail.com>
Tue, 14 Jul 2015 06:47:26 +0000 (14:47 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 14 Jul 2015 15:28:55 +0000 (17:28 +0200)
commitfcbea93cf8777bbef2a393d26942b5d3c70a448d
tree4550cdd70a30c63e9ec97ba22f18116080f49d9d
parent6e80fe1ecd984a59bb6c73cbb436cc06536b7728
avutil/fifo: Fix the case where func() returns less bytes than requested in av_fifo_generic_write()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavutil/fifo.c