ffmpeg/libavformat
Måns Rullgård c7f625eecf Fix erroneous behaviour when format probe hits end of file
If the format probe hits end of file, do not add the error code
to the buffer position.  This is obviously wrong, and with a
small input file would cause a negative buffer overflow.

Fixes issue 1818.

Originally committed as revision 22571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-16 21:45:30 +00:00
..
4xm.c
Makefile matroskadec: fix missing dependency 2010-03-15 22:37:14 +00:00
adts.h
adtsenc.c
aea.c
aiff.h
aiffdec.c
aiffenc.c
allformats.c
amr.c
anm.c
apc.c
ape.c
apetag.c
apetag.h
asf.c
asf.h
asfcrypt.c
asfcrypt.h
asfdec.c
asfenc.c
assdec.c
assenc.c
au.c
audiointerleave.c
audiointerleave.h
avc.c
avc.h
avformat.h Add a new field AVFormatContext.start_time_realtime 2010-03-15 10:29:37 +00:00
avi.c
avi.h
avidec.c
avienc.c
avio.c Add AVSEEK_FORCE flag to indicate that the code should attempt to seek 2010-03-15 22:54:22 +00:00
avio.h Add AVSEEK_FORCE flag to indicate that the code should attempt to seek 2010-03-15 22:54:22 +00:00
aviobuf.c Add AVSEEK_FORCE flag to indicate that the code should attempt to seek 2010-03-15 22:54:22 +00:00
avisynth.c
avlanguage.c
avlanguage.h
avs.c
bethsoftvid.c
bfi.c
bink.c
c93.c
caf.c
caf.h
cafdec.c
cdg.c
concat.c
crcenc.c
cutils.c
daud.c
dsicin.c
dv.c
dv.h
dvenc.c
dxa.c
eacdata.c
electronicarts.c
ffm.h
ffmdec.c
ffmenc.c
file.c
filmstripdec.c
filmstripenc.c
flacdec.c
flacenc.c
flacenc.h
flic.c
flv.h
flvdec.c
flvenc.c
framecrcenc.c
gif.c
gopher.c move ff_url_split() and ff_url_join() declarations to internal.h 2010-03-14 23:59:48 +00:00
gxf.c
gxf.h
gxfenc.c
http.c move ff_url_split() and ff_url_join() declarations to internal.h 2010-03-14 23:59:48 +00:00
id3v1.c
id3v1.h
id3v2.c
id3v2.h
idcin.c
idroq.c
iff.c
img2.c
internal.h rename av_read_frame_flush to ff_read_frame_flush 2010-03-15 23:15:24 +00:00
ipmovie.c
isom.c
isom.h
iss.c
iv8.c
libavformat.v
libnut.c
lmlm4.c
matroska.c
matroska.h
matroskadec.c matroskadec: use more appropriate error code 2010-03-15 00:19:22 +00:00
matroskaenc.c cosmetics : Print newline after error message. 2010-03-15 19:03:48 +00:00
metadata.c
metadata.h
metadata_compat.c
mm.c
mmf.c
mov.c
movenc.c
mp3.c
mpc.c
mpc8.c
mpeg.c
mpeg.h
mpegenc.c
mpegts.c rename av_program_add_stream_index to ff_program_add_stream_index 2010-03-15 23:14:07 +00:00
mpegts.h
mpegtsenc.c
mpjpeg.c
msnwc_tcp.c
mtv.c
mvi.c
mxf.c
mxf.h
mxfdec.c
mxfenc.c
ncdec.c
network.h
nsvdec.c
nut.c
nut.h
nutdec.c
nutenc.c
nuv.c
oggdec.c
oggdec.h
oggenc.c Correctly write last 0 lacing value when packet size is multiple of 255, patch by Greg Maxwell, gmaxwell at gmail dot com 2010-03-15 23:04:09 +00:00
oggparsedirac.c
oggparseflac.c
oggparseogm.c
oggparseskeleton.c
oggparsespeex.c
oggparsetheora.c
oggparsevorbis.c
oma.c
options.c
os_support.c
os_support.h
output-example.c
psxstr.c
pva.c
qcp.c
qtpalette.h
r3d.c
raw.c
raw.h
rdt.c
rdt.h
riff.c riff: don't pad extradata when writing ASF. 2010-03-15 08:49:02 +00:00
riff.h
rl2.c
rm.c
rm.h
rmdec.c
rmenc.c
rpl.c
rtmp.h
rtmppkt.c
rtmppkt.h
rtmpproto.c move ff_url_split() and ff_url_join() declarations to internal.h 2010-03-14 23:59:48 +00:00
rtp.c
rtp.h
rtpdec.c
rtpdec.h
rtpdec_amr.c
rtpdec_amr.h
rtpdec_asf.c
rtpdec_asf.h
rtpdec_h263.c
rtpdec_h263.h
rtpdec_h264.c
rtpdec_h264.h
rtpdec_vorbis.c
rtpdec_vorbis.h
rtpenc.c Use AVFormatContext.start_time_realtime in the RTP muxer 2010-03-15 10:37:12 +00:00
rtpenc.h
rtpenc_aac.c
rtpenc_amr.c
rtpenc_h263.c
rtpenc_h264.c
rtpenc_mpv.c
rtpproto.c move ff_url_split() and ff_url_join() declarations to internal.h 2010-03-14 23:59:48 +00:00
rtsp.c Make rtsp_skip_packet non-static, add ff prefix 2010-03-15 16:31:15 +00:00
rtsp.h Make rtsp_skip_packet non-static, add ff prefix 2010-03-15 16:31:15 +00:00
rtspcodes.h
rtspenc.c Reindent 2010-03-15 16:36:54 +00:00
sdp.c
seek.c rename av_read_frame_flush to ff_read_frame_flush 2010-03-15 23:15:24 +00:00
seek.h
segafilm.c
sierravmd.c
siff.c
smacker.c
sol.c
sox.h
soxdec.c
soxenc.c
spdif.c
swf.h
swfdec.c
swfenc.c
tcp.c move ff_url_split() and ff_url_join() declarations to internal.h 2010-03-14 23:59:48 +00:00
thp.c
tiertexseq.c
timefilter.c
timefilter.h
tmv.c
tta.c
txd.c
udp.c move ff_url_split() and ff_url_join() declarations to internal.h 2010-03-14 23:59:48 +00:00
utils.c Fix erroneous behaviour when format probe hits end of file 2010-03-16 21:45:30 +00:00
vc1test.c
vc1testenc.c
voc.c
voc.h
vocdec.c
vocenc.c
vqf.c
wav.c
wc3movie.c
westwood.c
wv.c
xa.c
yuv4mpeg.c