1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00
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
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
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
asf.c asf: indent. 2010-02-25 09:10:37 +00:00
asf.h
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
avlanguage.c
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
caf.c
caf.h
cafdec.c
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
dv.h
dvenc.c
dxa.c
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
flacenc.c
flacenc.h
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 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
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
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
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
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
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
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
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
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
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
rl2.c
rm.c
rm.h
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
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
segafilm.c
sierravmd.c
siff.c
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
swf.h
swfdec.c
swfenc.c
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
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
vc1testenc.c
voc.c
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