Elvis Presley
5554de13b2
ProRes Decoder
Signed-off-by: Elvis Presley <elvis@e.p>
13 years ago
Dustin Brody
d7d2f0e63c
matroskadec: fix typo.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Dustin Brody
4a9628f276
matroskadec: bail on parsing of incorrect seek index segments
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Joakim Plate
cdced09ef6
Don't override duration from file header with bitrate duration
This is most noticable on matroska files which has duration
as part of it's header.
13 years ago
Joakim Plate
5d70536804
[yop] Check return value of avio_seek and avoid modifying state if it fails
13 years ago
Joakim Plate
7bcd81299a
[wtv] Check return value of avio_seek and avoid modifying state if it fails
13 years ago
Joakim Plate
d9d7174d70
[tta] Check return value of avio_seek and avoid modifying state if it fails
13 years ago
Joakim Plate
fc12f54ea9
[tmv] Check return value of avio_seek and avoid modifying state if it fails
13 years ago
Joakim Plate
425907809b
[r3d] Check return value of avio_seek and avoid modifying state if it fails
13 years ago
Joakim Plate
e22155ef0e
[nsv] Check return value of avio_seek and avoid modifying state if it fails
13 years ago
Joakim Plate
a3f4fc813d
[mxfdec] Check return value of avio_seek and avoid modifying state if it fails
13 years ago
Joakim Plate
88ad79415c
[mpc8] Check return value of avio_seek and avoid modifying state if it fails
13 years ago
Joakim Plate
833358172b
[jvd] Check return value of avio_seek and avoid modifying state if it fails
13 years ago
Joakim Plate
58540d7bd3
[filmstrip] Check return value of avio_seek and avoid modifying state if it fails
13 years ago
Joakim Plate
928cfc7e4f
[ffmdec] Check return value of avio_seek and avoid modifying state if it fails
13 years ago
Joakim Plate
1df00ac80f
[dv] Check return value of avio_seek and avoid modifying state if it fails
13 years ago
Joakim Plate
75f418064e
[cafdec] Check return value of avio_seek and avoid modifying state if it fails
13 years ago
Joakim Plate
598cc84fbf
[bink] Check return value of avio_seek and avoid modifying state if it fails
13 years ago
Alex Converse
940173d4d1
lavf utils: Remove write-only variable
13 years ago
Alex Converse
4439caa482
lavf utils: Rename shadowing variable
13 years ago
elupus
9fa47cb773
make mpegts_get_pcr resync if it's not on a valid mpegts packet
17 years ago
elupus
6214266362
cosmetic reindent of mpegts_get_pcr
17 years ago
elupus
0a90b6a43e
check return value of url_fseek in mpegts_get_pcr
17 years ago
elupus
880e83827f
respect the maximum position mpegts_get_pcr is allowed to seek to
17 years ago
elupus
2130d2f594
remove unused code in mpegts_get_pcr
17 years ago
Michael Niedermayer
6a507ccfe5
wtvenc: add some asserts because iam paranoid
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
zhentan feng
438debd095
WTV muxer (2_wtvenc.patch, 3_add_wtv_muxer.patch)
13 years ago
Michael Niedermayer
38670356f9
libavformat/utils: print ts in the "invalid dts/pts combination" case.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
a92d0fa5d2
Fixed off by one packet size allocation in the smacker demuxer.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Laurent Aimar
e055932f56
Check for invalid packet size in the smacker demuxer.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Joakim Plate
6c9a24636b
asf: only try to read asf index once
This avoid retrying to read ASF index in files for every
attempt to seek. This makes a big difference to protocols
with slow seeking (for example http)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
c58d45e004
segafilm: Fix potential division by 0 on corrupted segafilm streams in the demuxer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
7cbe025758
segafilm: Check for memory allocation failures in segafilm demuxer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
273aab99bf
ape demuxer: fix segfault on memory allocation failure.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Philip de Nier
47886e3644
mxfdec: skip to end of structural sets This fixes reading of partition packs. The code stops reading after the operational pattern and should skip the array of essence container labels that follow
13 years ago
Kostya Shishkov
47a8589f7b
smacker demuxer: handle possible av_realloc() failure.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Joakim Plate
7e4111cfe2
rmdec: Check return value of more avio_seek calls
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Joakim Plate
f9e083a156
avidec: Check return value of more avio_seek calls
The move of avio_seek in avi_read_seek is to avoiding modifying
state if the seek would fail.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Joakim Plate
ac1d489320
asf: Check return value of more avio_seek calls
This reduces problems when underlying protocol is not
seekable even if marked as such or if the file has been
cut short.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
bc851a2946
Fix writes out of bounds in the ogg demuxer.
Between ogg_save() and ogg_restore() calls, the number of streams
could have been reduced.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
d0121e8d96
Fixed segfault on corrupted smacker streams in the demuxer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
1632a576e6
Fixed segfault on memory allocation failure in ape demuxer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Joakim Plate
c8ce2b0a1d
mpegts: When playing mpegts over rtp/rtsp/sdp, lavf must still read PAT/SDT to get available streams
The code path using for mpegts over rtp doesn't open the demuxer using
mpegts_read_header,
so it never starts listening for PAT/SDT, only uses auto_guess
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Joakim Plate
53f8f0a70e
Fix for some non interleaved avi files that gets played twice or won't end
This changes so we assume EOF when we can't find the next
streams index entry for non interleaved file.
http://trac.xbmc.org/ticket/5585
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Joakim Plate
e42a3dd123
Allow reading of growing avi files (ie currently being written)
This uses the RIFF header stored size to figure out the expected AVI file size, instead
of the actual file. To work fully it requires handling failed avio_seek() instead
of assuming they always succeed.
Some fate file has been cut off and contains half a frame at the end which previously
was not output during demuxing. This frame is now output to encoder, thus fate
diff update.
15 years ago
Georgi Chorbadzhiyski
f1f15c3c1a
mpegts: improve error reporting
When reporting continuity error show pid, expected and received cc.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Aviad Rozenhek
162f1fbc14
mpegts: on seek, reset the cc for all PIDs
Prevent false positive continuity counter error logs.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Michael Niedermayer
cb66db8010
mpegts: update comment to match code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Joakim Plate
6796b82407
libavformat/utils: Only require first packet to be known for all audio and video streams
It can take a long time before subtitles or data streams show up,
so we shouldn't wait for those before assuming we have all info
for streams.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Joakim Plate
6d40f88cab
mpegts: Some additional HDMV types and reg descriptors for mpegts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago