ffmpeg/libavutil
Michael Niedermayer 0871ae1a93 Make av_fifo*_read() ignore the available amount of data.
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
2008-05-25 22:20:39 +00:00
..
adler32.c Fix a couple of 'return type defaults to int' and 'control reaches end of 2008-01-10 10:35:37 +00:00
adler32.h add missing #include "common.h" to libavutil headers 2008-03-19 08:47:31 +00:00
aes.c Fix test program compilation, random() needs to be undefined. 2008-01-08 22:40:25 +00:00
aes.h misc spelling fixes 2008-03-10 18:42:09 +00:00
avstring.h Add FFMPEG_ prefix to all multiple inclusion guards. 2007-10-17 09:37:46 +00:00
avutil.h misc spelling fixes 2008-03-10 18:42:09 +00:00
base64.c Remove unnecessary parentheses from return calls. 2008-05-06 09:16:36 +00:00
base64.h Mark the source buffer as "const" 2007-10-30 15:32:52 +00:00
bswap.h Reapply r12489: Add pure, const and malloc attributes to proper functions 2008-03-19 06:17:43 +00:00
common.h add FFMIN3 2008-04-26 12:47:02 +00:00
crc_data.h improve CRC API 2008-01-04 23:09:58 +00:00
crc.c Dont cast const away. 2008-02-01 01:33:16 +00:00
crc.h add missing #include "common.h" to libavutil headers 2008-03-19 08:47:31 +00:00
des.c Fix des-test compilation. 2008-04-18 07:05:49 +00:00
des.h add missing #include "common.h" to libavutil headers 2008-03-19 08:47:31 +00:00
fifo.c Make av_fifo*_read() ignore the available amount of data. 2008-05-25 22:20:39 +00:00
fifo.h add necessary #includes in headers 2008-05-03 13:29:39 +00:00
integer.c simplify 2008-04-05 10:52:27 +00:00
integer.h add missing #include "common.h" to libavutil headers 2008-03-19 08:47:31 +00:00
internal.h Split MANGLE macro into LOCAL_MANGLE AND EXTERN_PREFIX parts 2008-03-22 18:15:12 +00:00
intfloat_readwrite.c
intfloat_readwrite.h Reapply r12489: Add pure, const and malloc attributes to proper functions 2008-03-19 06:17:43 +00:00
intreadwrite.h Add #include "config.h" to headers that need it. 2008-03-13 18:04:21 +00:00
lls.c Fix the following using void* casts, proper casts are less readable and 2008-01-31 20:52:14 +00:00
lls.h Add FFMPEG_ prefix to all multiple inclusion guards. 2007-10-17 09:37:46 +00:00
log.c use av_log_get/set_level() 2007-12-12 21:48:50 +00:00
log.h minor wording fix 2008-05-06 08:41:13 +00:00
lzo.c LZO decoder input is const 2008-02-01 16:30:51 +00:00
lzo.h LZO decoder input is const 2008-02-01 16:30:51 +00:00
Makefile non-recursive makefiles 2008-04-07 21:16:31 +00:00
mathematics.c Faster ff_sqrt() 2008-01-21 13:33:18 +00:00
mathematics.h Reapply r12489: Add pure, const and malloc attributes to proper functions 2008-03-19 06:17:43 +00:00
md5.c fixing warning 2008-01-30 04:50:09 +00:00
md5.h Add FFMPEG_ prefix to all multiple inclusion guards. 2007-10-17 09:37:46 +00:00
mem.c indent 2008-05-23 12:37:52 +00:00
mem.h Cosmetic change: remove the whitespace after 'defined' 2008-03-19 07:43:43 +00:00
random.c av_random() by Ryan Martell rdm4 name-server-seperator martellventures d0t com 2007-02-08 22:09:05 +00:00
random.h Add FFMPEG_ prefix to all multiple inclusion guards. 2007-10-17 09:37:46 +00:00
rational.c license header consistency cosmetics 2007-07-05 10:40:25 +00:00
rational.h Reapply r12489: Add pure, const and malloc attributes to proper functions 2008-03-19 06:17:43 +00:00
rc4.c Consistently place comments in file header. 2007-10-14 09:30:53 +00:00
rc4.h #include stdint.h instead of inttypes.h like all libavutil headers do. 2008-03-13 18:17:03 +00:00
sha1.c Missing const found by -Wwrite-strings. 2008-02-03 21:56:13 +00:00
sha1.h Missing const found by -Wwrite-strings. 2008-02-03 21:56:13 +00:00
softfloat.c main() --> main(void) 2007-11-23 00:52:56 +00:00
softfloat.h add missing #include "common.h" to libavutil headers 2008-03-19 08:47:31 +00:00
string.c Implement av_strlcatf(): a strlcat which adds a printf style formatted string 2007-07-19 06:36:02 +00:00
tree.c Comment to explain how the add/remove core works. 2008-01-23 21:03:21 +00:00
tree.h Document O() time. 2008-01-04 18:55:14 +00:00
x86_cpu.h Add required stdint.h header. 2008-05-09 11:10:20 +00:00