1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2024-12-29 10:52:20 +00:00
ffmpeg/libavformat
Reimar Döffinger 44ed34b790 Check for seek failures in avi_load_index, otherwise if the index offset
is invalid (e.g. truncated file) we might end up reading the whole file
since trying to seek beyond the end of file does not set EOF.

Originally committed as revision 19709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-26 08:38:44 +00:00
..
4xm.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
adtsenc.c Use av_log_missing_feature in the ADTS encoder. (Pseudo reverts r19173). 2009-06-29 22:48:07 +00:00
aiff.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
allformats.c Add support for S/PDIF encapsulation. 2009-08-21 08:34:19 +00:00
amr.c Change semantic of CONFIG_*, HAVE_* and ARCH_*. 2009-01-13 23:44:16 +00:00
apc.c
ape.c Move APE tag parsing into separate module. 2009-08-11 17:08:09 +00:00
apetag.c Move APE tag parsing into separate module. 2009-08-11 17:08:09 +00:00
apetag.h Move APE tag parsing into separate module. 2009-08-11 17:08:09 +00:00
asf.c Per-stream language-tags extraction in asfdec. 2009-05-12 12:35:46 +00:00
asf.h Remove any reference to ASFContext.packet_size and replace it with 2009-06-24 23:04:05 +00:00
asfcrypt.c Add and use a public API for RC4 and DES, analogous to the AES API. 2009-02-03 14:20:55 +00:00
asfcrypt.h
asfdec.c Add handling of EAGAIN at packet boundaries. See "[PATCH] RTSP-MS 14/15: 2009-07-26 19:09:35 +00:00
asfenc.c Remove any reference to ASFContext.packet_size and replace it with 2009-06-24 23:04:05 +00:00
assdec.c Silence "assdec.c:146: warning: passing argument 4 of ‘qsort’ from incompatible pointer type" 2009-02-14 15:44:46 +00:00
assenc.c ASS/SSA muxer. 2008-09-26 19:42:21 +00:00
au.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
audiointerleave.c Reorder arguments for av_fifo_generic_read to be more logical and 2009-03-09 17:47:47 +00:00
audiointerleave.h Allocate AVFifoBuffer through the fifo API to reduce future API/ABI issues. 2009-03-08 14:16:55 +00:00
avc.c cosmetics, remove spaces after '(' and before ')' 2009-07-30 19:14:57 +00:00
avc.h 10l, fix prototype 2009-01-16 01:20:31 +00:00
avformat.h Add support for S/PDIF encapsulation. 2009-08-21 08:34:19 +00:00
avi.h
avidec.c Check for seek failures in avi_load_index, otherwise if the index offset 2009-08-26 08:38:44 +00:00
avienc.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
avio.c Move function for reading whole specified amount of data from RTSP 2009-06-04 06:25:53 +00:00
avio.h Move function for reading whole specified amount of data from RTSP 2009-06-04 06:25:53 +00:00
aviobuf.c seek inside buffer when offset is exactly at the end, fix seeking with memory ByteIOContext 2009-04-13 04:02:51 +00:00
avisynth.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
avlanguage.c Remove a test on an always false condition. 2009-06-17 07:05:17 +00:00
avlanguage.h Convert names to the FFmpeg style. 2009-04-28 19:51:50 +00:00
avs.c avoid POSIX reserved _t suffix 2008-12-11 22:34:14 +00:00
bethsoftvid.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
bfi.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
c93.c avoid POSIX reserved _t suffix 2008-12-11 22:34:14 +00:00
crcenc.c cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
cutils.c Do not misuse unsigned long to store pointers. 2009-02-04 05:56:39 +00:00
daud.c Change semantic of CONFIG_*, HAVE_* and ARCH_*. 2009-01-13 23:44:16 +00:00
dsicin.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
dv.c fix dvcprohd 720p channels 3 and 4 audio timestamps, patch by Brian Brice, bbrice at gmail dot com 2009-06-19 21:36:21 +00:00
dv.h cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
dvenc.c Allocate AVFifoBuffer through the fifo API to reduce future API/ABI issues. 2009-03-08 14:16:55 +00:00
dxa.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
eacdata.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
electronicarts.c Electronic Arts demuxer: support Madcow video tag 2009-06-13 02:20:54 +00:00
ffm.h cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
ffmdec.c remove useless duplication of what av_new_stream() already does 2009-04-10 12:49:53 +00:00
ffmenc.c do not write ffm write index by default, detect if file is being written and return EOF 2009-03-20 01:23:33 +00:00
file.c Only consider -1 as an error return value for open(). 2009-07-27 12:36:22 +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 Share the function to write a raw FLAC header and use it in the Matroska 2009-02-26 02:41:53 +00:00
flacenc.h Share the function to write a raw FLAC header and use it in the Matroska 2009-02-26 02:41:53 +00:00
flic.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
flv.h Register some additional AMF types in libavformat/flv.h 2009-07-21 07:18:14 +00:00
flvdec.c Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN 2009-07-26 12:20:04 +00:00
flvenc.c Fix onMetaData property count in flv files (issue 1206). 2009-06-20 12:52:48 +00:00
framecrcenc.c cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
gif.c Rename pbBufPtr() to put_bits_ptr(). 2009-04-13 16:59:38 +00:00
gopher.c Gopher protocol, patch by Toshimitsu Kimura, lovesyao gmail com 2009-02-11 16:28:46 +00:00
gxf.c cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
gxf.h Avoid _t in gxf enum type names 2008-12-13 21:58:17 +00:00
gxfenc.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
http.c Add support for "chunked" data blocks. Patch by Peter Holik (peter holik at). 2009-06-23 15:38:53 +00:00
id3v1.c Move id3v1/id3v2 handling code from mp3.c to id3v[12].c. 2009-06-19 14:03:35 +00:00
id3v1.h Move id3v1/id3v2 handling code from mp3.c to id3v[12].c. 2009-06-19 14:03:35 +00:00
id3v2.c indent 2009-06-29 18:37:29 +00:00
id3v2.h Move id3v1/id3v2 handling code from mp3.c to id3v[12].c. 2009-06-19 14:03:35 +00:00
idcin.c Use more descriptive format long_names. 2009-02-12 17:26:06 +00:00
idroq.c Simplify RoQ demuxer pts calculation by using a appropriate time bases. 2009-03-13 13:37:35 +00:00
iff.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
img2.c return EOF in image2 demuxer 2009-07-30 08:21:11 +00:00
internal.h remove now useless av_set_program_name() function 2009-02-10 00:27:42 +00:00
ipmovie.c Simplify ipmovie.c pts calculation by using an appropriate time_base. 2009-02-27 10:07:12 +00:00
isom.c Add '.mp1' for MP1 audio in MOV/CAF. 2009-06-17 00:37:06 +00:00
isom.h Remove time_rate, we cannot compute exactly when fragments are 2009-06-11 05:13:23 +00:00
iss.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
libnut.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
lmlm4.c Fix build: Add intreadwrite.h and bswap.h #includes where necessary. 2009-01-11 22:19:48 +00:00
Makefile Support for generic multi-stream key frame finding for new seek API. 2009-08-22 16:05:43 +00:00
matroska.c matroska: add support for MLP and TRUEHD codec tags 2009-03-30 21:37:04 +00:00
matroska.h Add some basic metadata conversion tables for matroska and asf. 2009-03-01 00:12:08 +00:00
matroskadec.c matroskadec: add correct extradata offset for V_MS/VFW/FOURCC tracks 2009-08-24 13:43:33 +00:00
matroskaenc.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
metadata_compat.c don't trigger metadata compatibility code when user app already set metadata 2009-02-26 13:00:13 +00:00
metadata.c simplify metadata conversion and fixes gcc-2.95 at the same time 2009-03-01 14:29:30 +00:00
metadata.h add a metadata conversion API 2009-02-28 23:34:16 +00:00
mm.c Add a context to av_log() call and update the trace not to be redundant. 2009-02-16 16:27:08 +00:00
mmf.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
mov.c only set par if it does not indicates a rotation, ex iphone 3GS 2009-06-25 00:17:47 +00:00
movenc.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
mp3.c Move id3v1/id3v2 handling code from mp3.c to id3v[12].c. 2009-06-19 14:03:35 +00:00
mpc8.c Allocate a bit more memory for MPC SV8 seek table, so bitreader won't read 2009-06-13 06:39:01 +00:00
mpc.c Parse ID3 tags in Musepack SV7 files 2009-08-11 17:28:56 +00:00
mpeg.c Remove 2 ++ from check_pes() that are useless, found by CSA. 2009-04-17 18:08:39 +00:00
mpeg.h cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
mpegenc.c Set restrictions on packet_size, as per ISO-11172 / H-222 specifications 2009-06-17 19:04:02 +00:00
mpegts.c Add Bluray Subtitle Support 2009-08-25 08:47:39 +00:00
mpegts.h mpegts: change variable-length array to fixed length 2009-08-24 21:42:25 +00:00
mpegtsenc.c rename freq to period which is more correct, patch by Niobos, niobos dot be at gmail dot com 2009-07-28 17:51:12 +00:00
mpjpeg.c cosmetics: format long_name spelling fixes 2009-02-12 17:24:17 +00:00
msnwc_tcp.c
mtv.c Mark video from .mtv files correctly as upside-down. 2009-08-25 07:47:34 +00:00
mvi.c
mxf.c reuse MXFCodecUL for data def and simplify 2009-02-08 05:12:30 +00:00
mxf.h reuse MXFCodecUL for data def and simplify 2009-02-08 05:12:30 +00:00
mxfdec.c return AVERROR_EOF 2009-05-30 06:16:44 +00:00
mxfenc.c fix and simplify long gop mpeg codec ul computation 2009-07-04 08:02:01 +00:00
ncdec.c 10l: fix compiler warning: 2009-02-08 21:42:06 +00:00
network.h Fix undefined preprocessor directives warnings during 'make checkheaders'. 2009-01-24 14:52:46 +00:00
nsvdec.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
nut.c remove _t for POSIX compatibility. 2008-12-11 19:06:24 +00:00
nut.h Remove misleading comment, _t is POSIX-reserved namespace. 2008-12-13 16:08:31 +00:00
nutdec.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
nutenc.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
nuv.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
oggdec.c Add a VorbisComment metadata conversion table and use it in the FLAC and 2009-06-13 22:45:58 +00:00
oggdec.h Add a VorbisComment metadata conversion table and use it in the FLAC and 2009-06-13 22:45:58 +00:00
oggenc.c oggenc: Change error log text. An error here does not necessarily mean 2009-06-21 20:18:29 +00:00
oggparseflac.c Rename bitstream.h to get_bits.h. 2009-04-13 16:20:26 +00:00
oggparseogm.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
oggparsespeex.c Ensure that the extradata buffer is padded appripriately in the ogg demuxer. 2009-06-05 23:39:11 +00:00
oggparsetheora.c Replace invalid Theora frame rate by 25 FPS. 2009-07-03 11:31:09 +00:00
oggparsevorbis.c Add a VorbisComment metadata conversion table and use it in the FLAC and 2009-06-13 22:45:58 +00:00
oma.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
options.c use AVFormatContext->probesize in av_find_stream_info and raise default to 5M 2009-06-25 19:10:27 +00:00
os_support.c Change semantic of CONFIG_*, HAVE_* and ARCH_*. 2009-01-13 23:44:16 +00:00
os_support.h Only #define lseek to _lseeki64 on MinGW, not MinGW CE. 2009-07-13 17:16:36 +00:00
output-example.c Use enums instead of int. 2009-08-02 17:42:40 +00:00
psxstr.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
pva.c technically mp2 in pva needs AVSTREAM_PARSE_FULL 2009-05-27 06:58:22 +00:00
qcp.c Add QCP demuxer. 2009-05-20 17:19:39 +00:00
qtpalette.h Remove alpha channel from default colorspace tables, since it is unused. See 2009-03-22 13:05:13 +00:00
r3d.c return AVERROR(ENOMEM) if stream could not be allocated 2009-08-25 19:59:38 +00:00
raw.c Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN 2009-07-26 12:20:04 +00:00
raw.h Separate the raw FLAC demuxer from raw.c and put in a new file, 2009-02-28 17:24:46 +00:00
rdt.c Don't use a pointer-to-flags/timestamp in ff_rm_parse_packet(); the function 2009-07-30 15:04:19 +00:00
rdt.h Split rtp.h in rtp.h, rtpdec.h, and rtpenc.h 2009-02-06 10:35:52 +00:00
riff.c fix riff subtitle timebase 2009-08-07 23:57:52 +00:00
riff.h Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
rl2.c cosmetics: format long_name spelling fixes 2009-02-12 17:24:17 +00:00
rm.c use new metadata API in rm (de)muxer 2009-02-17 21:40:38 +00:00
rm.h Don't use a pointer-to-flags/timestamp in ff_rm_parse_packet(); the function 2009-07-30 15:04:19 +00:00
rmdec.c Remove old_flags variable, which is a duplicate of the flags variable. 2009-07-30 15:05:33 +00:00
rmenc.c Remove index writing in RM muxer, since it is broken (multiple streams per 2009-03-21 20:34:24 +00:00
rpl.c cosmetics: vertical alignment 2009-02-26 22:39:53 +00:00
rtmp.h RTMP protocol support (as a client) 2009-07-31 06:49:36 +00:00
rtmppkt.c RTMP protocol support (as a client) 2009-07-31 06:49:36 +00:00
rtmppkt.h RTMP protocol support (as a client) 2009-07-31 06:49:36 +00:00
rtmpproto.c RTMP protocol support (as a client) 2009-07-31 06:49:36 +00:00
rtp_aac.c Correctly set the "AU size" field in the payload header for 2009-05-29 13:46:46 +00:00
rtp_amr.c Add support for AMR audio in the RTP muxer 2009-04-08 07:16:14 +00:00
rtp_asf.c Cosmetics: remove spaces between function name and arguments in declaration, 2009-07-27 14:32:54 +00:00
rtp_asf.h Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a 2009-03-20 01:11:08 +00:00
rtp_h263.c Fix the copyright year 2009-04-07 12:28:41 +00:00
rtp_h264.c Use named initializers and use new/free_context() instead of extradata() 2009-07-27 14:29:06 +00:00
rtp_h264.h Split rtp.h in rtp.h, rtpdec.h, and rtpenc.h 2009-02-06 10:35:52 +00:00
rtp_mpv.c Make sure buffer end remains constant within the loop 2009-06-10 14:56:50 +00:00
rtp_vorbis.c Use named initializers and use new/free_context() instead of extradata() 2009-07-27 14:29:06 +00:00
rtp_vorbis.h Add a Vorbis payload parser. Implemented by Colin McQuillan as a GSoC 2009-04-14 15:01:46 +00:00
rtp.c Rename bitstream.h to get_bits.h. 2009-04-13 16:20:26 +00:00
rtp.h Document ff_rtp_codec_id() 2009-02-28 19:34:50 +00:00
rtpdec.c Add a Vorbis payload parser. Implemented by Colin McQuillan as a GSoC 2009-04-14 15:01:46 +00:00
rtpdec.h Add url_get_file_handle(), which is used to get the file descriptor 2009-03-03 17:04:51 +00:00
rtpenc_h264.c Fix the M bit for multi-packet NALs. 2009-05-16 17:11:47 +00:00
rtpenc.c Rename bitstream.h to get_bits.h. 2009-04-13 16:20:26 +00:00
rtpenc.h Add support for AMR audio in the RTP muxer 2009-04-08 07:16:14 +00:00
rtpproto.c Add url_get_file_handle(), which is used to get the file descriptor 2009-03-03 17:04:51 +00:00
rtsp.c Implement support for EOS as used by WMS and other RTSP servers that do not 2009-07-27 14:03:53 +00:00
rtsp.h Implement support for EOS as used by WMS and other RTSP servers that do not 2009-07-27 14:03:53 +00:00
rtspcodes.h
sdp.c Add support for AMR audio in the RTP muxer 2009-04-08 07:16:14 +00:00
seek.c Support for generic multi-stream key frame finding for new seek API. 2009-08-22 16:05:43 +00:00
seek.h Support for generic multi-stream key frame finding for new seek API. 2009-08-22 16:05:43 +00:00
segafilm.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
sierravmd.c Add a context to av_log() call. 2009-02-16 14:45:05 +00:00
siff.c cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
smacker.c Make Smacker audio decoder output audio in original bit depth 2009-03-21 15:52:14 +00:00
sol.c cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
sox.h Implement SoX native format muxer and demuxer. 2009-05-30 18:51:15 +00:00
soxdec.c Add block_align to sox input. 2009-07-08 08:52:56 +00:00
soxenc.c Implement SoX native format muxer and demuxer. 2009-05-30 18:51:15 +00:00
spdif.c Add support for S/PDIF encapsulation. 2009-08-21 08:34:19 +00:00
swf.h remove unused fields in swf context 2009-03-14 22:49:01 +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 Use ff_neterrno instead of errno in tcp.c. 2009-07-15 05:52:49 +00:00
thp.c cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
tiertexseq.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
timefilter.c Replace rand() usage by av_lfg_get(). 2009-04-10 17:12:36 +00:00
timefilter.h Add my name to copyright & author as requested by the original author. 2009-03-06 20:51:50 +00:00
tmv.c Add 8088flex TMV file demuxer. 2009-05-06 22:01:54 +00:00
tta.c Rename bitstream.h to get_bits.h. 2009-04-13 16:20:26 +00:00
txd.c Add a context to av_log() calls. 2009-03-03 16:19:37 +00:00
udp.c Add url_get_file_handle(), which is used to get the file descriptor 2009-03-03 17:04:51 +00:00
utils.c Support for generic multi-stream key frame finding for new seek API. 2009-08-22 16:05:43 +00:00
vc1test.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
vc1testenc.c
voc.c
voc.h avoid POSIX reserved _t suffix 2008-12-11 22:34:14 +00:00
vocdec.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
vocenc.c avoid POSIX reserved _t suffix 2008-12-11 22:34:14 +00:00
vqf.c VQF demuxer 2009-03-07 22:42:09 +00:00
wav.c cosmetics: whitespace, prettyprinting, coding style fixes 2009-08-10 16:35:36 +00:00
wc3movie.c Slightly improve/correct description of wc3_pal_lookup 2009-04-12 08:49:20 +00:00
westwood.c Remove unused code from Westwood VQA/AUD demuxer. 2009-04-16 12:39:14 +00:00
wv.c Add floating point audio decoding to WavPack decoder. 2009-05-06 05:40:43 +00:00
xa.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
yuv4mpeg.c Use chroma_sample_location in reading/writing yuv4mpeg 2009-05-11 04:35:15 +00:00