Michael Niedermayer
5442c6cce3
lavf: fix duration estimation for multi program TS
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
31cdf6002a
lavf: increase retries to guess duration from pts by 1
...
This fixes finding the duration for one TS file
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d8f27eceaa
asfdec: ignore stored duration for truncated files
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Peter Ross
8469fc17e2
wtvdec: display warning for encrypted wtv files (instead of 'unsupported chunk' messages)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
8f4c414df6
Improve wording and spelling of av_log_missing_feature messages.
12 years ago
Paul B Mahol
a57d560db3
LVF demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Matthieu Bouron
c68a8a1340
lavf/aiffdec: don't stop parsing after SSND chunk
...
Some file has ID3 chunk placed after SSND.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Matthieu Bouron
d8173f264f
dv: fix a check on dv_extract_timecode return value
...
Fixes CID733808
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
cb0add3ce9
lavf/flacenc: disallow creation of invalid files with -c copy
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Anton Khirnov
6173a8fe5d
riff: remove a write-only variable
12 years ago
Martin Storsjö
c3e15f7b39
rtpdec: Don't pass a non-AVClass pointer as log context
...
The log context is assumed to start with an AVClass pointer.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
e0d5ac6ae3
rtsp: Update a comment to the current filename scheme
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
248b1ff26b
Fix various uses of av_log_missing_feature()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
fa190b3cd7
Improve MPEG-PS-in-MOV detection.
...
Fixes issue 1520.
12 years ago
Michael Niedermayer
40ceb6d49f
libavformat/oggenc: add {} to complex ifs
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c2c066784f
libavformat/mxfenc: add {} to complex ifs
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b8a64d69a9
libavformat/mpegvideodec: add {} to complex ifs
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
fefe9bd782
libavformat/movenc: add {} to complex ifs
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
217193facd
bavformat/mov: add {} to complex ifs
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b6267901c4
mp3demux: Rewrite xing TOC based seeking
...
The libav code depends on mp3 startcodes only occuring at the start of
frames. But there is nothing in mp3 that prevents them occuring elsewhere
by chance. Thus the code would fail randomly, the new code searches for 3
consecutive valid frames. If this turns out to be still insufficient the
number can be raised further, or additional checks added.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
99a520000d
lavf/webvttdec: fix potential timing overflows.
...
Should fix CID733781 and CID733782.
12 years ago
Clément Bœsch
1ea3c03743
lavf/subviewerdec: fix potential timing overflows.
...
Should fix CID733779 and CID733780.
12 years ago
Michael Niedermayer
044c0e62ea
udp: add missing mutex unlock
...
Fixes CID703688
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c4503a2e40
rtpdec: check av_new_packet() return value
...
Fixes CID733715
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3a8b66af6c
rtmp_write_amf_data: remove dead code
...
Fixes CID732199
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
e4ef2e073c
riff_has_valid_tags: remove unused variable
...
Fixes CID739471
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
73581afe01
nutdec: fix integer overflow
...
Fixes CID700575
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d633e15d7d
nsvdec: fix division by 0
...
Fixes CID717749
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ee23dcf534
avformat_free_context: allow NULL as argument
...
Fixes CID703682
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
830f7f189f
mmsh: fix integer overflow in mmsh_seek()
...
Fixes CID703745
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
dd84efe3c7
matroskaenc: Fix hypothetical integer overflows
...
Fixes CID700562-7
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b1f517f503
matroskaenc: check avio_open_dyn_buf() retuen code
...
Fixes CID703629
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
2c5b92fe90
matroskadec: fix double negation typo
...
Fixes CID602563
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
1116491c53
matroska_parse_rm_audio: check for malloc failure
...
Fixes CID733712
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
2f41eaa9c6
rtsp: Make sure the ret variable is initialized in ff_rtsp_fetch_packet
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
8fb8d539a4
hlsproto: fix integer overflow
...
Fixes CID703743
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ba39303050
gxfenc: fix null ptr dereference
...
Fixes CID703677
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
395caf3de8
hls: fix integer overflow
...
Fixes CID717892
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a96577df38
avio: fix sizeof argument
...
Fixes CID732284
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d30351363f
url_alloc_for_protocol: fix use of uninitialized variable
...
Fixes CID703830
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3d48dd01fd
avidec: remove unneeded null check
...
Fixes CID29555
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Petter Ericson
7abf394814
mov.c: Check for stsd + m1s tag indicating MOV-wrapped MPEG-PS, and force continued probing if found.
...
Fixes Ticket241
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
3f055f8f5f
rtsp: Allow setting the reordering buffer size via an AVOption
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
1c37744963
rtsp: Vertically align a constant definition
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
0de9380be5
rtp: Update the check for distinguishing between RTP and RTCP
...
Also add enums for more RTCP packet types, according to the IANA
list of registered types.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
7b2121e7e2
riff: Move functions around to be covered by appropriate #ifdefs
...
This fixes compilation with --disable-muxers.
12 years ago
Michael Niedermayer
d0c27e88d2
riff: retry reading metadata without padding if it fails with
...
Fixes Ticket1821
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
1350dffdc6
riff: dont discard truncated metadata
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
0af1fe845a
avformat: Fix references to the removed function av_write_header in comments
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
fc085c5b33
gxf: Add a local copy of the relevant parts of the frame rate table
...
This avoids having to share this table across the library
boundaries.
This shared table used to be problematic, if always declaring
all exported data symbols with the dllimport attribute (even
while building that same library), since it needs to be a
link-time constant when it is used in AVCodec declarations
(in mpeg12enc.c).
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago