• Michael Niedermayer's avatar
    Make av_fifo*_read() ignore the available amount of data. · 0871ae1a
    Michael Niedermayer authored
    This is more efficient as in practice the check is redundant most of the
    time. Callers which do not know if enough data is available have to check
    it with av_fifo_size(). Doing the check in *read() means the caller has
    no choice to skip the check when its known to be redundant.
    Also the return value was never documented in a public header so
    changing it should not break the API. Besides this fixes the case where
    read() failed on a 100% full fifo.
    
    Originally committed as revision 13404 to svn://svn.ffmpeg.org/ffmpeg/trunk
    0871ae1a
Name
Last commit
Last update
doc Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswscale Loading commit data...
tests Loading commit data...
tools Loading commit data...
vhook Loading commit data...
COPYING.GPL Loading commit data...
COPYING.LGPL Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
common.mak Loading commit data...
configure Loading commit data...
ffmpeg.c Loading commit data...
ffplay.c Loading commit data...
ffserver.c Loading commit data...
ffserver.h Loading commit data...
output_example.c Loading commit data...
subdir.mak Loading commit data...
version.sh Loading commit data...