ffmpeg/libavformat
Micah F. Galizia 532aa889eb Fix updating condition for the probe_size variable in the internal
loop of ff_probe_input_buffer(), making sure that probe_size is always
set to probe_max_size in the last iteration.

Also make the function return an error if we get to the max probe
length and still cannot figure out what the format is.

Patch by Micah Galizia micahgalizia A gmail D com.

Originally committed as revision 22688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-26 01:12:14 +00:00
..
4xm.c
adts.h In mpegts muxer, write adts header if aac bitstream does not contain it 2010-03-09 00:18:49 +00:00
adtsenc.c In mpegts muxer, write adts header if aac bitstream does not contain it 2010-03-09 00:18:49 +00:00
aea.c
aiff.h decode qcelp in aiff, implement #1524, patch by Vitor 2009-11-30 22:01:21 +00:00
aiffdec.c Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strduped 2009-12-13 20:27:29 +00:00
aiffenc.c Split up the AIFF muxer and demuxer into separate files. 2009-10-15 09:45:16 +00:00
allformats.c Add an RTSP muxer 2010-02-22 21:28:19 +00:00
amr.c
anm.c Make DeluxePaint Animation demuxer actually return the find_record() error code (issue 1739). 2010-02-12 11:31:35 +00:00
apc.c
ape.c Replace all the occurrences of AVERROR_EIO with AVERROR(EIO), and mark 2010-03-13 19:19:44 +00:00
apetag.c Include apetag.h which contains the prototype for ff_ape_parse_tag(). 2010-02-28 01:43:47 +00:00
apetag.h
asf.c Move put_le16_nolen() to asf.c and give it a ff_ prefix. This way, it is easier 2010-03-24 18:40:43 +00:00
asf.h Move put_le16_nolen() to asf.c and give it a ff_ prefix. This way, it is easier 2010-03-24 18:40:43 +00:00
asfcrypt.c
asfcrypt.h
asfdec.c Use ASF supports "markers" which are a name and a time stamp to create 2010-03-08 13:13:18 +00:00
asfenc.c Move put_le16_nolen() to asf.c and give it a ff_ prefix. This way, it is easier 2010-03-24 18:40:43 +00:00
assdec.c
assenc.c
au.c AU : demuxed packet size should be sample size aligned. 2009-12-07 13:55:38 +00:00
audiointerleave.c
audiointerleave.h
avc.c Include avc.h from avc.c: It contains several prototypes. 2010-02-28 02:04:34 +00:00
avc.h
avformat.h RTP depacketization of Theora 2010-03-22 16:26:29 +00:00
avi.c Set lavf identification string globally in av_write_header(), rather 2010-02-16 16:32:25 +00:00
avi.h Add AVI metadata conversion table. 2010-02-06 12:32:44 +00:00
avidec.c Avoid creating tiny (possibly only 64 bytes large) audio packets resulting in 2010-03-14 13:38:00 +00:00
avienc.c Set lavf identification string globally in av_write_header(), rather 2010-02-16 16:32:25 +00:00
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 Mask away AVSEEK_FORCE properly in some checks in url_fseek() 2010-03-24 10:41:58 +00:00
avisynth.c
avlanguage.c
avlanguage.h
avs.c
bethsoftvid.c
bfi.c
bink.c Prevent memory leak introduced in r22389 in Bink demuxer: pass partial packets to decoder. 2010-03-11 12:29:02 +00:00
c93.c
caf.c Make AVCodecTag.id enum CodecID and use CODEC_ID_NONE instead of 0. 2009-10-16 14:46:06 +00:00
caf.h #include correct header to fix 'make checkheaders'. 2009-09-18 19:51:05 +00:00
cafdec.c Replace all the occurrences of AVERROR_EIO with AVERROR(EIO), and mark 2010-03-13 19:19:44 +00:00
cdg.c CD+G demuxer and decoder 2009-12-17 17:25:31 +00:00
concat.c Fix concat seeking SEEK_END case. 2010-03-08 00:40:22 +00:00
crcenc.c
cutils.c
daud.c
dsicin.c Fix memory leak for truncated frames 2010-02-19 20:19:41 +00:00
dv.c Fix seeking in DV when filesize is unknown. 2010-03-23 17:22:25 +00:00
dv.h
dvenc.c Split parts of dvdata.h into dvdata.c, this ensures that things like 2009-10-16 07:55:57 +00:00
dxa.c Improve dxa probe by checking the values for width and height are reasonable. 2009-09-17 18:08:07 +00:00
eacdata.c update my email address 2010-01-09 03:31:13 +00:00
electronicarts.c Use enum CodecID where appropriate. 2010-01-10 08:57:20 +00:00
ffm.h
ffmdec.c Cast sample_fmt (as read from bitstream as a 16-bit value) to int16, so that 2010-03-17 15:14:18 +00:00
ffmenc.c Fix breakage introduced by setting the sample_fmt to SAMPLE_FMT_NONE (r20623). This makes 2009-12-14 21:08:21 +00:00
file.c Do not call lseek() with invalid whence value 2010-02-13 16:56:37 +00:00
filmstripdec.c Adobe Filmstrip muxer and demuxer 2010-01-14 12:55:44 +00:00
filmstripenc.c Adobe Filmstrip muxer and demuxer 2010-01-14 12:55:44 +00:00
flacdec.c Add VorbisComment writing to FLAC files. 2010-03-20 13:36:43 +00:00
flacenc_header.c Put ff_flac_write_header() in a separate C file to allow it to be shared without 2010-03-23 23:58:45 +00:00
flacenc.c Move ff_flac_write_header() to flacenc.h, which removes the Matroska muxer's 2010-03-22 21:58:38 +00:00
flacenc.h Put ff_flac_write_header() in a separate C file to allow it to be shared without 2010-03-23 23:58:45 +00:00
flic.c
flv.h
flvdec.c fetch flv duration from file if it is set to 0 in metadata 2010-01-19 19:41:24 +00:00
flvenc.c Guess the duration before converting video and write guessed duration 2010-02-02 22:23:09 +00:00
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 Set GXF fallback time-base to match the one specified for audio-only. 2010-03-06 22:25:53 +00:00
gxf.h
gxfenc.c Make AVCodecTag.id enum CodecID and use CODEC_ID_NONE instead of 0. 2009-10-16 14:46:06 +00:00
http.c Split out http authentication handling into a separate file 2010-03-24 22:32:05 +00:00
httpauth.c Remove a redundant null pointer check 2010-03-25 21:53:42 +00:00
httpauth.h Add support for http digest authentication 2010-03-25 13:58:26 +00:00
id3v1.c Add a list of generic tags and change demuxers to follow it. 2010-02-01 11:39:10 +00:00
id3v1.h More ID3v1 genres from ffmbc. 2009-12-13 20:51:38 +00:00
id3v2.c Add a list of generic tags and change demuxers to follow it. 2010-02-01 11:39:10 +00:00
id3v2.h Remove extraneous const keyword 2009-10-17 14:07:28 +00:00
idcin.c Fix memory leak for truncated packets in idCin demuxer 2010-02-21 14:41:39 +00:00
idroq.c
iff.c IFF: move ff_cmap_read_palette() prototype to a header file 2010-03-08 02:36:00 +00:00
img2.c Dont senselessly fail on rawvideo that isnt 3 files per frame. 2010-03-22 20:18:42 +00:00
internal.h Add a lowercase parameter to ff_data_to_hex 2010-03-25 07:13:20 +00:00
ipmovie.c Recognize 16-bit Interplay Video variant 2009-12-27 08:21:40 +00:00
isom.c Store strings directly in mov_mdhd_language_map instead of using pointers, 2010-01-30 22:05:26 +00:00
isom.h Always consider the mov language code as 4 bytes fixed size and change the 2010-01-30 21:54:06 +00:00
iss.c
iv8.c Fix timestamps. 2010-02-11 22:32:46 +00:00
libavformat.v Add symbol versioning for shared libraries 2010-01-16 04:49:02 +00:00
libnut.c
lmlm4.c
Makefile Make RTSP use the generic http authentication code 2010-03-25 21:47:33 +00:00
matroska.c matroskadec: add support for SIPR audio tracks 2010-03-12 23:49:06 +00:00
matroska.h
matroskadec.c matroskadec: use more appropriate error code 2010-03-15 00:19:22 +00:00
matroskaenc.c Matroska muxer : Don't create audio tracks for unsupported audio codecs. 2010-03-25 14:34:19 +00:00
metadata_compat.c Add a list of generic tags and change demuxers to follow it. 2010-02-01 11:39:10 +00:00
metadata.c Set lavf identification string globally in av_write_header(), rather 2010-02-16 16:32:25 +00:00
metadata.h Set lavf identification string globally in av_write_header(), rather 2010-02-16 16:32:25 +00:00
mm.c Remove static function name prefixes from American Laser Games MM demuxer 2010-03-09 12:37:13 +00:00
mmf.c
mov.c In mov demuxer, convert mac encoded strings to utf-8 2010-03-09 01:03:42 +00:00
movenc.c Fix encoder metadata string langcode in mov muxer 2010-03-09 01:53:16 +00:00
mp3.c Many mp3s seem to contain padding after id3 tags that is not considered in the 2010-02-28 16:40:17 +00:00
mpc8.c Return an error when the parsed mpc chunk size is negative, otherwise we 2009-09-30 13:35:13 +00:00
mpc.c Do not leave uninitialized data in the packet in MPC demuxer. Should allow for 2010-02-20 11:22:47 +00:00
mpeg.c Dont give up after 100kb of zero bytes but returnd EAGAIN 2010-02-10 14:25:57 +00:00
mpeg.h
mpegenc.c put_bits can only reliably write up to 31 bit bits, above it relies on 2009-10-01 15:40:29 +00:00
mpegts.c rename av_program_add_stream_index to ff_program_add_stream_index 2010-03-15 23:14:07 +00:00
mpegts.h Fix warnings about implicit function declaration when compiling rtpdec.c 2010-02-01 23:10:04 +00:00
mpegtsenc.c In mpegts muxer, free adts context and temporary data 2010-03-10 09:20:32 +00:00
mpjpeg.c
msnwc_tcp.c
mtv.c Plug memory leak for truncated files 2010-03-02 21:32:56 +00:00
mvi.c 10l, pix_fmt should be set by the motionpixels decoder, not by the demuxer. 2009-11-26 21:15:06 +00:00
mxf.c
mxf.h
mxfdec.c Do D10 AES3 audio conversion in-place instead of using a large on-stack buffer. 2009-11-20 23:12:55 +00:00
mxfenc.c Remove MAX_STREAMS usage in ogg and mxf muxers 2010-01-29 06:38:00 +00:00
ncdec.c Do not return values above AVPROBE_SCORE_MAX from probe(). 2009-09-15 13:28:14 +00:00
network.h Localize the #define _SVID_SOURCE needed for inet_aton() to os_support.c 2010-03-07 19:48:59 +00:00
nsvdec.c Plug memory leak in NSV demuxer. 2010-03-03 17:26:00 +00:00
nut.c Fix warning: 2010-03-24 19:58:12 +00:00
nut.h Plug memory leak in NUT muxer and demuxer 2010-03-03 17:31:24 +00:00
nutdec.c Fix warnings in NUT demuxer: 2010-03-24 22:44:06 +00:00
nutenc.c Plug memory leak in NUT muxer and demuxer 2010-03-03 17:31:24 +00:00
nuv.c
oggdec.c Add VorbisComment writing to FLAC files. 2010-03-20 13:36:43 +00:00
oggdec.h Add VorbisComment writing to FLAC files. 2010-03-20 13:36:43 +00:00
oggenc.c Add VorbisComment writing to Ogg/FLAC and Ogg/Speex files. 2010-03-20 13:39:22 +00:00
oggparsedirac.c Fix warning about incompatible pointer types 2010-03-07 02:26:34 +00:00
oggparseflac.c oggdec: Metadata is per-stream; don't merge multiple streams' together 2010-03-12 05:16:44 +00:00
oggparseogm.c oggdec: Set packet duration for ogm streams 2010-03-13 05:55:57 +00:00
oggparseskeleton.c oggdec: Parse skeleton to determine the start time of each stream 2010-03-11 07:17:40 +00:00
oggparsespeex.c oggdec: Metadata is per-stream; don't merge multiple streams' together 2010-03-12 05:16:44 +00:00
oggparsetheora.c oggdec: Metadata is per-stream; don't merge multiple streams' together 2010-03-12 05:16:44 +00:00
oggparsevorbis.c Add VorbisComment writing to FLAC files. 2010-03-20 13:36:43 +00:00
oma.c Fix indentation after r21257. 2010-01-17 00:27:22 +00:00
options.c Flag to ignore dts on frames that contain pts. 2010-01-30 22:55:12 +00:00
os_support.c Move resolve_host() to ffserver.c 2010-03-08 18:43:27 +00:00
os_support.h Add comment on #endif about condition that triggers it. 2009-10-21 01:25:39 +00:00
output-example.c Remove conditional M_PI definition, it is already defined in 2010-01-22 23:16:23 +00:00
psxstr.c
pva.c
qcp.c
qtpalette.h
r3d.c Plug some memory leaks for truncated files 2010-03-02 21:32:29 +00:00
raw.c Reindent 2010-02-14 19:00:36 +00:00
raw.h
rdt.c Add a lowercase parameter to ff_data_to_hex 2010-03-25 07:13:20 +00:00
rdt.h
riff.c riff: don't pad extradata when writing ASF. 2010-03-15 08:49:02 +00:00
riff.h Make AVCodecTag.id enum CodecID and use CODEC_ID_NONE instead of 0. 2009-10-16 14:46:06 +00:00
rl2.c
rm.c
rm.h export rm_reorder_sipr_data() for future use by matroska demuxer 2010-03-12 23:35:59 +00:00
rmdec.c export rm_reorder_sipr_data() for future use by matroska demuxer 2010-03-12 23:35:59 +00:00
rmenc.c
rpl.c
rtmp.h
rtmppkt.c 1l trocadero: forgot reference operator on bytestream_get_be32() argument 2010-03-07 08:52:53 +00:00
rtmppkt.h Make RTMP send/receive packet functions report number of bytes read or sent. 2010-01-30 09:24:52 +00:00
rtmpproto.c move ff_url_split() and ff_url_join() declarations to internal.h 2010-03-14 23:59:48 +00:00
rtp.c Remove the inclusion of unneeded headers 2010-01-11 19:55:14 +00:00
rtp.h
rtpdec_amr.c Interpret valueless attributes in AMR ftmp lines as being 1 2010-03-22 14:44:28 +00:00
rtpdec_amr.h RTP/AMR depacketizer, by Martin Storsjö <$firstname at $firstname dot st>. 2010-02-10 17:20:50 +00:00
rtpdec_asf.c Rename RTP depacketizer files from rtp_* to rtpdec_* 2010-02-28 11:03:14 +00:00
rtpdec_asf.h Rename RTP depacketizer files from rtp_* to rtpdec_* 2010-02-28 11:03:14 +00:00
rtpdec_h263.c Add RTP/H.263 depacketizer by Martin Storsjö <$firstname () $firstname st>. 2010-01-28 16:08:13 +00:00
rtpdec_h263.h Add RTP/H.263 depacketizer by Martin Storsjö <$firstname () $firstname st>. 2010-01-28 16:08:13 +00:00
rtpdec_h264.c Properly pad H.264 extradata when taken from fmtp SDP attributes 2010-03-03 21:00:50 +00:00
rtpdec_h264.h Rename RTP depacketizer files from rtp_* to rtpdec_* 2010-02-28 11:03:14 +00:00
rtpdec_theora.c RTP depacketization of Theora 2010-03-22 16:26:29 +00:00
rtpdec_theora.h RTP depacketization of Theora 2010-03-22 16:26:29 +00:00
rtpdec_vorbis.c Rename RTP depacketizer files from rtp_* to rtpdec_* 2010-02-28 11:03:14 +00:00
rtpdec_vorbis.h Rename RTP depacketizer files from rtp_* to rtpdec_* 2010-02-28 11:03:14 +00:00
rtpdec.c RTP depacketization of Theora 2010-03-22 16:26:29 +00:00
rtpdec.h Prefix non-static RTSP functions with ff_. 2010-02-23 00:35:50 +00:00
rtpenc_aac.c Rename the RTP muxer sources so that the packetisation functions are in 2010-01-18 13:44:12 +00:00
rtpenc_amr.c Rename the RTP muxer sources so that the packetisation functions are in 2010-01-18 13:44:12 +00:00
rtpenc_h263.c Fix a crash in the H.263 RTP packetizer 2010-03-11 16:26:14 +00:00
rtpenc_h264.c
rtpenc_mpv.c Rename the RTP muxer sources so that the packetisation functions are in 2010-01-18 13:44:12 +00:00
rtpenc.c Use AVFormatContext.start_time_realtime in the RTP muxer 2010-03-15 10:37:12 +00:00
rtpenc.h
rtpproto.c move ff_url_split() and ff_url_join() declarations to internal.h 2010-03-14 23:59:48 +00:00
rtsp.c Reassemble the RTSP URL before replacing hostname with the numerical IP 2010-03-25 22:21:09 +00:00
rtsp.h Actually parse the auth headers in RTSP 2010-03-25 21:48:58 +00:00
rtspcodes.h
rtspenc.c Add separate method/url parameters to the rtsp_send_cmd functions 2010-03-25 21:46:14 +00:00
sdp.c Add a lowercase parameter to ff_data_to_hex 2010-03-25 07:13:20 +00:00
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 Fix overflow check insufficiently improved in r19840. 2009-09-16 15:12:23 +00:00
siff.c Improve SIFF probe by also checking the first tag is one of the expected. 2009-09-17 18:09:20 +00:00
smacker.c Set duration in Smacker demuxer 2010-01-30 10:37:52 +00:00
sol.c
sox.h
soxdec.c Replace all the occurrences of AVERROR_EIO with AVERROR(EIO), and mark 2010-03-13 19:19:44 +00:00
soxenc.c
spdif.c
swf.h Make AVCodecTag.id enum CodecID and use CODEC_ID_NONE instead of 0. 2009-10-16 14:46:06 +00:00
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 Do not set AVCodecContext.sample_fmt in the TMV and SoX demuxers. 2009-11-07 22:35:00 +00:00
tta.c 10l : make sure probe buffer is large enough. 2009-12-17 13:05:37 +00:00
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 updating condition for the probe_size variable in the internal 2010-03-26 01:12:14 +00:00
vc1test.c Do not set 0 FPS in VC-1 test stream format demuxer. 2009-09-15 16:36:53 +00:00
vc1testenc.c
voc.c Make AVCodecTag.id enum CodecID and use CODEC_ID_NONE instead of 0. 2009-10-16 14:46:06 +00:00
voc.h Determine VOC block length when length field is zero, fixes issue1538. 2009-11-24 07:08:17 +00:00
vocdec.c Determine VOC block length when length field is zero, fixes issue1538. 2009-11-24 07:08:17 +00:00
vocenc.c
vorbiscomment.c Add VorbisComment writing to FLAC files. 2010-03-20 13:36:43 +00:00
vorbiscomment.h Add VorbisComment writing to FLAC files. 2010-03-20 13:36:43 +00:00
vqf.c Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strduped 2009-12-13 20:27:29 +00:00
wav.c Reindent 2010-02-10 20:27:53 +00:00
wc3movie.c Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strduped 2009-12-13 20:27:29 +00:00
westwood.c
wv.c Set start_time and duration in AVStream instead of AVFormatContext for 2010-01-21 09:47:02 +00:00
xa.c Fix memory leak for truncated frames 2010-02-19 20:20:17 +00:00
yuv4mpeg.c