ffmpeg/libavformat
Micah F. Galizia 4245c6ec4e Move the probe loop from av_open_input_file() into its own method
av_probe_input_buffer() so that it can be reused. Here are a few
differences to the original way things were probed:

- maximum probe buffer size can be specified as a parameter.

- offset within the stream to probe from can be specified as a parameter.

- instead of seeking back to the start each time a probe fails, stream
  data is appended to the reallocated buffer. This lowers the amount
  of data read from the stream (there is no repetition) and results in
  fewer closed and reopened streams (when seeking fails).

Patch by Micah F. Galizia printf("%s%s@%s.%s", "micah", "galizia", "gmail", "com").

Originally committed as revision 22296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-07 22:42:11 +00:00
..
4xm.c
adtsenc.c Use av_log_missing_feature in the ADTS encoder. (Pseudo reverts r19173). 2009-06-29 22:48:07 +00:00
aea.c Add condition to aea demuxer probe. 2009-09-13 18:27:53 +00:00
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 Set start_time and duration in AVStream instead of AVFormatContext for 2010-01-21 09:47:02 +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 Move APE tag parsing into separate module. 2009-08-11 17:08:09 +00:00
asf.c asf: indent. 2010-02-25 09:10:37 +00:00
asf.h Detect Windows Media DRM protected files and display warning if no key 2009-10-11 23:09:33 +00:00
asfcrypt.c
asfcrypt.h
asfdec.c asfdec: don't strip the "WM/" prefix, this should be done during conversion. 2010-02-25 16:38:23 +00:00
asfenc.c asfenc: write tags in proper UTF-16. 2010-02-25 16:59:55 +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 Add a function ff_url_join for assembling URLs 2010-03-05 22:31:45 +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 Add AVI metadata conversion table. 2010-02-06 12:32:44 +00:00
avienc.c Set lavf identification string globally in av_write_header(), rather 2010-02-16 16:32:25 +00:00
avio.c Always call ff_network_init/ff_network_close when opening protocols 2010-03-05 22:30:21 +00:00
avio.h Doxument url_fopen(). 2010-02-09 18:59:34 +00:00
aviobuf.c Remove duplicated empty line. 2010-01-30 20:18:55 +00:00
avisynth.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
avlanguage.c 100l, all avlanguage tables should be both static and const. 2009-09-06 08:36:25 +00:00
avlanguage.h
avs.c
bethsoftvid.c
bfi.c
bink.c handle errors reported by av_get_packet() in Bink demuxer 2010-03-04 13:27:53 +00:00
c93.c Check the index validity more thoroughly for the c93 probe function. 2009-09-14 20:01:32 +00:00
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 Core Audio Format demuxer 2009-09-16 12:26:59 +00:00
cdg.c CD+G demuxer and decoder 2009-12-17 17:25:31 +00:00
concat.c Implement a physical concatenation protocol. 2010-02-07 10:25:58 +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 Split parts of dvdata.h into dvdata.c, this ensures that things like 2009-10-16 07:55:57 +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 Fix breakage introduced by setting the sample_fmt to SAMPLE_FMT_NONE (r20623). This makes 2009-12-14 21:08:21 +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 a VorbisComment metadata conversion table and use it in the FLAC and 2009-06-13 22:45:58 +00:00
flacenc.c
flacenc.h
flic.c
flv.h Register some additional AMF types in libavformat/flv.h 2009-07-21 07:18:14 +00:00
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 Use ff_url_join for assembling URLs, instead of snprintf 2010-03-05 22:35:21 +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 Use ff_url_join for assembling URLs, instead of snprintf 2010-03-05 22:35:21 +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 Support IFF ANNO (annotation) chunk type 2010-02-16 09:55:56 +00:00
img2.c Add flag so muxers not needing width/height can signal this. 2010-02-12 20:35:29 +00:00
internal.h Move the probe loop from av_open_input_file() into its own method 2010-03-07 22:42:11 +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 Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
lmlm4.c
Makefile Rename RTP depacketizer files from rtp_* to rtpdec_* 2010-02-28 11:03:14 +00:00
matroska.c Add a list of generic tags and change demuxers to follow it. 2010-02-01 11:39:10 +00:00
matroska.h
matroskadec.c matroskadec: Fix a buffer overread 2010-03-07 02:26:30 +00:00
matroskaenc.c Ensure that we write clusters and blocks with known size when streaming 2010-03-04 08:53:14 +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 update my email address 2010-01-09 03:31:13 +00:00
mmf.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
mov.c Make mp4_read_descr static: It is only used inside libavformat/mov.c. 2010-02-28 01:51:13 +00:00
movenc.c Add a list of generic tags and change demuxers to follow it. 2010-02-01 11:39:10 +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 Fix build 2010-02-01 23:30:30 +00:00
mpegts.h Fix warnings about implicit function declaration when compiling rtpdec.c 2010-02-01 23:10:04 +00:00
mpegtsenc.c Correctly increment continuity_counter in PCR packets. 2010-02-24 10:56:13 +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 Plug memory leak in NUT muxer and demuxer 2010-03-03 17:31:24 +00:00
nut.h Plug memory leak in NUT muxer and demuxer 2010-03-03 17:31:24 +00:00
nutdec.c Plug memory leak in NUT muxer and demuxer 2010-03-03 17:31:24 +00:00
nutenc.c Plug memory leak in NUT muxer and demuxer 2010-03-03 17:31:24 +00:00
nuv.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
oggdec.c Make sure the header value used to avoid repeating headers on seeking to the 2010-02-08 20:25:36 +00:00
oggdec.h Fix playback with invalid files that don't set the continuation flag for 2010-02-08 10:13:03 +00:00
oggenc.c Remove MAX_STREAMS usage in ogg and mxf muxers 2010-01-29 06:38:00 +00:00
oggparsedirac.c Fix warning about incompatible pointer types 2010-03-07 02:26:34 +00:00
oggparseflac.c
oggparseogm.c Fix PTS for OGM codecs. 2009-12-12 20:18:43 +00:00
oggparsespeex.c Fix PTS for OGM codecs. 2009-12-12 20:18:43 +00:00
oggparsetheora.c oggdec: Parse theora headers since ogg might not mark keyframes 2010-03-05 00:22:40 +00:00
oggparsevorbis.c Add a list of generic tags and change demuxers to follow it. 2010-02-01 11:39:10 +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 inet_aton needs _DARWIN_C_SOURCE on OS X 2010-03-07 19:49:02 +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 handler can be NULL if we did not support this dynamic format (codec). 2010-01-07 23:05:19 +00:00
rdt.h
riff.c add netspeak gsm and truespeech wav format tags to riff.c 2010-02-13 17:57:24 +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 ff_rm_metadata is const. 2009-09-06 08:57:19 +00:00
rm.h ff_rm_metadata is const. 2009-09-06 08:57:19 +00:00
rmdec.c Print a warning when DATA chunk is encountered in the middle of chunk. 2010-01-23 09:42:52 +00:00
rmenc.c
rpl.c
rtmp.h RTMP protocol support (as a client) 2009-07-31 06:49:36 +00:00
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 Use ff_url_join for assembling URLs, instead of snprintf 2010-03-05 22:35:21 +00:00
rtp.c Remove the inclusion of unneeded headers 2010-01-11 19:55:14 +00:00
rtp.h
rtpdec_amr.c Prefix non-static RTSP functions with ff_. 2010-02-23 00:35:50 +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_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 Rename RTP depacketizer files from rtp_* to rtpdec_* 2010-02-28 11:03:14 +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 Rename the RTP muxer sources so that the packetisation functions are in 2010-01-18 13:44:12 +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 Fix syncronisation for streams with a high encoding delay. 2010-02-10 19:33:08 +00:00
rtpenc.h
rtpproto.c Use ff_url_join for assembling URLs, instead of snprintf 2010-03-05 22:35:21 +00:00
rtsp.c Localize the #define _SVID_SOURCE needed for inet_aton() to os_support.c 2010-03-07 19:48:59 +00:00
rtsp.h Cosmetics: reindent 2010-02-23 11:05:36 +00:00
rtspcodes.h
rtspenc.c Use ff_url_join for assembling URLs, instead of snprintf 2010-03-05 22:35:21 +00:00
sdp.c Make sure the destination address is written as an IP address in the SDP 2010-01-12 10:56:43 +00:00
seek.c Add internal.h include for av_read_frame_flush prototype 2010-03-07 02:35:45 +00:00
seek.h cosmetic changes (indentation, doxygen comments, braces, put structures for API to header, ...) 2009-09-05 19:31:01 +00:00
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 Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strduped 2009-12-13 20:27:29 +00:00
soxenc.c
spdif.c Add support for S/PDIF encapsulation. 2009-08-21 08:34:19 +00:00
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 Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
swfenc.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
tcp.c Don't explicitly initialize networking in the tcp and udp protocols 2010-03-05 22:38: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 Don't explicitly initialize networking in the tcp and udp protocols 2010-03-05 22:38:48 +00:00
utils.c Move the probe loop from av_open_input_file() into its own method 2010-03-07 22:42:11 +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
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