1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-03 05:10:03 +02:00
FFmpeg/libavformat
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
..
4xm.c
adtsenc.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
aiff.c try to demux even if codec is not recognized, should demux M1F1-float32C-AFsp.aif and fix #454 2008-05-15 22:47:40 +00:00
allformats.c Import Dirac demuxer/muxer from SoC branch; written by Marco Gerards, 2008-05-02 14:52:39 +00:00
amr.c
apc.c string.h is a system header file, so use <> for it. 2008-05-09 09:30:43 +00:00
ape.c Missing tags in APE is normal situation, so don't print an error. 2008-04-26 06:29:56 +00:00
asf-enc.c Correct ASF duration. 2008-04-21 08:19:16 +00:00
asf.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
asf.h
asfcrypt.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
asfcrypt.h
au.c
avc.c Fix misplaced const, avoids a cast-discards-qualifiers warning 2008-02-19 16:18:17 +00:00
avc.h const 2008-02-19 16:08:52 +00:00
avformat.h Pass time_base as argument to new_chapter() as well. 2008-05-23 18:15:13 +00:00
avi.h avi.h does not use anything from avcodec.h. 2008-03-03 22:56:07 +00:00
avidec.c Print warning if scale/rate is invalid. 2008-04-13 11:45:18 +00:00
avienc.c Fix aspect ratio. 2008-03-27 01:18:16 +00:00
avio.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
avio.h minor typo fixes 2008-03-31 17:31:11 +00:00
aviobuf.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
avisynth.c
avs.c Fix icc warning #188: enumerated type mixed with another type 2008-05-13 15:51:37 +00:00
bethsoftvid.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
bfi.c BFI demuxer 2008-04-13 21:06:31 +00:00
c93.c
crcenc.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
cutils.c Do not loop endlessly if converting into dv with timestamps Jan 1st not 2008-05-21 07:05:08 +00:00
daud.c
dsicin.c
dv.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
dv.h
dvenc.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
dxa.c
eacdata.c
electronicarts.c Fix icc warning #188: enumerated type mixed with another type 2008-05-13 15:51:37 +00:00
ffm.c remove useless var 2008-05-21 22:54:36 +00:00
file.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
flic.c
flv.h add new h264 and aac flv ids 2008-05-23 22:02:29 +00:00
flvdec.c in flv this field is dts finally 2008-05-23 21:51:33 +00:00
flvenc.c set correct duration when using b frames 2008-05-25 01:22:06 +00:00
framecrcenc.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
framehook.c
framehook.h Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
gif.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
gifdec.c Fix decoding of interlaced gif, e.g. http://samples.mplayerhq.hu/GIF/7up.gif 2008-03-03 13:16:29 +00:00
gxf.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
gxf.h
gxfenc.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
http.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
idcin.c fix the id CIN demuxer by using the pts API correctly 2008-03-01 01:43:19 +00:00
idroq.c
iff.c IFF stereo support 2008-05-09 11:25:27 +00:00
img2.c Replace some occurrences of 0 with CODEC_ID_NONE. 2008-05-12 10:30:40 +00:00
ipmovie.c
isom.c qcelp fourcc 2008-04-24 17:16:13 +00:00
isom.h
libnut.c
lmlm4.c
Makefile split swf de/muxer 2008-05-20 23:31:10 +00:00
matroska.c
matroska.h demux chapters out of matroska 2008-05-22 22:07:09 +00:00
matroskadec.c Pass time_base as argument to new_chapter() as well. 2008-05-23 18:15:13 +00:00
matroskaenc.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
mm.c
mmf.c
mov.c free moov and cmov when error occurs, fix memleak, patch by Albert Astals Cid, aastals at tv-wan dot es 2008-05-22 17:16:12 +00:00
movenc.c Remove unnecessary parentheses from return calls. 2008-05-06 09:16:36 +00:00
mp3.c Replace some occurrences of 0 with CODEC_ID_NONE. 2008-05-12 10:30:40 +00:00
mpc8.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
mpc.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
mpeg.c support dvd pcm 20/24 bits, patch by Lars Täuber, lars.taeuber gmx net 2008-05-21 02:26:42 +00:00
mpeg.h Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
mpegenc.c Make av_fifo*_read() ignore the available amount of data. 2008-05-25 22:20:39 +00:00
mpegts.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
mpegts.h treat stream_type==0x82 as AUDIO_DTS when the program has a REGISTRATION_DESCRIPTOR with the value HDMV; approved by Mans 2008-02-23 10:57:38 +00:00
mpegtsenc.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
mpjpeg.c
msnwc_tcp.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
mtv.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
mxf.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
network.h
nsvdec.c
nut.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
nut.h Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
nutdec.c Pass time_base as argument to new_chapter() as well. 2008-05-23 18:15:13 +00:00
nutenc.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
nuv.c
oggdec.c
oggdec.h
oggenc.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
oggparseflac.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
oggparseogm.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
oggparsespeex.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
oggparsetheora.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
oggparsevorbis.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
os_support.c Include poll.h instead of sys/poll.h 2008-02-13 12:51:14 +00:00
os_support.h typo: occured --> occurred 2008-03-22 01:06:57 +00:00
psxstr.c
pva.c
qtpalette.h
raw.c Replace some occurrences of 0 with CODEC_ID_NONE. 2008-05-12 10:30:40 +00:00
raw.h
riff.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
riff.h Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rl2.c rl2 demuxer 2008-03-21 14:02:13 +00:00
rm.h
rmdec.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rmenc.c
rpl.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rtp_aac.c
rtp_aac.h
rtp_h264.c Fix non-debug build. 2008-05-13 17:43:18 +00:00
rtp_h264.h Add some const, fixes warnings: 2008-02-19 22:07:48 +00:00
rtp_internal.h Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rtp_mpv.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rtp_mpv.h
rtp.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rtp.h Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rtpdec.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rtpenc_h264.c Add some const, fixes warnings: 2008-02-19 22:07:48 +00:00
rtpenc.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rtpproto.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rtsp.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rtsp.h Allow cycling between different protocols (TCP, UDP or multicast) so that if 2008-03-19 14:05:08 +00:00
rtspcodes.h
sdp.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
segafilm.c Fix ;; 2008-02-19 22:09:08 +00:00
sierravmd.c
siff.c
smacker.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
sol.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
swf.h split swf de/muxer 2008-05-20 23:31:10 +00:00
swfdec.c remove useless/obsolete comments 2008-05-20 23:39:07 +00:00
swfenc.c remove useless/obsolete comments 2008-05-20 23:39:07 +00:00
tcp.c Set TCP protocol to is_streamed=1 as seeking is not possible. 2008-03-05 15:29:10 +00:00
thp.c
tiertexseq.c
tta.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
txd.c
udp.c Fix type of dest_addr_len to respect return value of udp_set_url. 2008-05-11 10:53:21 +00:00
utils.c compute the end of all chapters when end is not specified in the container 2008-05-24 21:44:29 +00:00
vc1test.c Reduce probe score as it misdetects our flv file from the regression test. 2008-04-15 13:36:31 +00:00
voc.c
voc.h
vocdec.c
vocenc.c
wav.c Decrease returning probe score for WAV demuxer to avoid 2008-04-19 14:52:19 +00:00
wc3movie.c fix wc3movie demuxer to conform to the PTS API 2008-03-01 02:28:47 +00:00
westwood.c Tighten up the Westwood AUD detection. Probability of random detections 2008-04-18 17:29:58 +00:00
wv.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
xa.c Maxis XA demuxer and decoder. 2008-04-14 14:31:43 +00:00
yuv4mpeg.c