Martin Storsjö
0c5f839693
lavf: Remove a now useless parameter to ffurl_register_protocol
...
This was added in 9b07a2dc02
as an ABI hack to allow older
code built with lavf 52 to register protocols even if the size
of the URLProtocol struct was increased. Later, registering
protocols from outside of lavf was removed and this workaround
isn't needed any longer since lavf 53.
This removes an unchecked malloc and a memory leak for the cases
when this workaround actually was used - which it hasn't since
lavf 53.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Anton Khirnov
4f2d8968c0
oggparsetheora: check av_mallocz result
11 years ago
Anton Khirnov
5e5fb21877
oggparsetheora: return meaningful error codes
11 years ago
Anton Khirnov
d4c12b8be4
oggparsetheora: K&R cosmetics, reformat
...
Also typedef the private data struct and make its name consistent with
the rest of Libav.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Anssi Hannula
f86387b6c2
lavf/spdifdec: fix demuxing of AAC in IEC 61937
...
Return value of avpriv_aac_parse_header() is not checked correctly. Fix
it.
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Anton Khirnov
4eb49fdde8
lavf: remove unreliable timestamp guessing heuristic
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Clément Bœsch
8d55362fd0
avformat/avisynth: re-add trailing \n.
...
Regression since ac9529ce
.
Spotted by Timothy Gu.
11 years ago
Michael Niedermayer
6103faaa51
matroskaenc: fixed display width / height calculation for stereo mode
...
Based-on: patch by Asan Usipov <asan.usipov@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Anton Khirnov
8b64c2ba03
lavc: add a dummy field to AVStream to preserve ABI compatibility for avconv
...
avconv abuses the API by accessing AVStream.parser (which is private).
Removing AVStream.reference_dts in
2ba68dd044
breaks ABI compatibility for an
old avconv using a newer lavf. Fix this by adding a dummy field until
the next bump.
11 years ago
Derek Buitenhuis
25c7db7cc9
avio: Check for memory allocation failure of private data
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Michael Niedermayer
f1f0b01c47
avformat/gxf: fix old codec id
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stephen Hutchinson
f87a2e1272
avisynth: Factor out a couple of returns
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stephen Hutchinson
ac9529ceec
avisynth: Simplify a stray av_log message
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stephen Hutchinson
7ac67583c3
avisynth: Switch a couple of AVERROR_UNKNOWNs to AVERROR(ENOMEM)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stephen Hutchinson
c7f9aab801
avisynth: Use AV_* prefixes for video and audio IDs
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stephen Hutchinson
cf31c1d4f8
avisynth: Remove outdated undef block
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stephen Hutchinson
df6279e737
avisynth: Remove a couple of useless AviSynthContext casts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stephen Hutchinson
da9852670c
avisynth: Don't declare structs anonymously
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stephen Hutchinson
d10d60be68
avisynth: Compact AvxSynth's avoidance of 2.6's colorspaces.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stephen Hutchinson
2c18bfe6af
avisynth: Cosmetics
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stephen Hutchinson
1549122d26
avisynth: Change most of the comments to /* */ from //
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stephen Hutchinson
bd97ba72dc
avisynth: Introduce USING_AVISYNTH macro
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Peter Ross
69a042ee95
mpegts: demux synchronous SMPTE 336M Key-Length-Value (KLV) metadata
...
Fixes ticket #2579 .
11 years ago
Anton Khirnov
feeafb4ada
lavf: do not export av_register_{rtp,rdt}_dynamic_payload_handlers from shared objects
11 years ago
Anton Khirnov
2ba68dd044
lavf: remove unreliable timestamp guessing heuristic
11 years ago
Luca Barbato
53151723e3
avio: K&R formatting cosmetics
11 years ago
Derek Buitenhuis
d206fd996b
avio: Check for memory allocation failure of private data
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Michael Niedermayer
2ef1e62c8d
correct the AVOption documentation for AV_EF_CAREFUL
...
The flag was and is intended to be a sane default and thus does not enable
time consuming checks. This also matches how the flag is used in decoders and
demuxers.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
4307026243
avformat/utils: make "first_dts not matching first dts in the queue" message more informative
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
1e5271a9fd
avformat/utils: do not override pts in h264 when they are provided from the demuxer
...
Fixes Ticket2143
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
d2db1bb7de
avformat/http: dont fail with unknown Content-Encodings
...
Fixes: http://m1.file.xiami.com/282/23282/343749/1769075752_709488_l.mp3
Based-on-patch-by: Crossle Song <sxm@yixia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
fcd08b7770
avformat/md5enc: add format, version and column headers
...
See Ticket2280
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
lemonlinger@gmail.com
2cf94485de
avformat/rtpproto: when local rtp port and local rtcp port are not specified, try to make two successive ports and retry 3 times when failed
...
some video players on Android will not send udp hole punching messages if the rtcp port and rtp port are not two successive integers.
So, if the video player is behind NAT, it could not receive and rtp messages via udp
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
ba8716df7f
avformat/mp3dec: perform seek resync in the correct direction
...
Fixes seeking to the last frame in CBR files
Fixes Ticket2773
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
d04ec6ffc5
avformat/rmdec: english typos
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
6abb9eb525
avformat/wavdec: Fix smv packet interleaving
...
This strips the relative timestamp "flag" off.
Fixes Ticket2849
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
aaf02f6ede
avformat/rmdec: add some error messages
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
f7106e00f7
avformat/rmdec: fix return code of ff_rm_parse_packet()
...
Broken by aecb9d3
Fixes assertion failure
Fixes Ticket3042
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
210afae0ba
avformat/utils: Check size argument in ff_add_index_entry()
...
Fixes infinite loop
Fixes Ticket3061
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
3ce7c62e1b
avformat/framehash: add software version to framecrc/md5
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
James Almer
c994b42830
lavf/adtsenc: Add support for APE tags
...
Should fix ticket #2269
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Clément Bœsch
e01fba5562
movenc: Add an F4V muxer
...
F4V is Adobe's mp4/iso media variant, with the most significant
addition/change being supporting other flash codecs than just
aac/h264.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Derek Buitenhuis
b1fcdc08ce
nut: Fix unchecked allocations
...
CC: libav-stable@libav.org
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Derek Buitenhuis
55ae13e3de
nut: Fix unchecked allocations
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Michael Niedermayer
7e3e653618
avformat/bintext: protect against potential overflow of chars_per_frame
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Nicolas George
c4e6024adc
lavf/tee: fix leak of bsfs array.
11 years ago
Nicolas George
5a12142aca
lavf/tee: fix leak of select option.
11 years ago
Nicolas George
59f809e992
lavf/tee: fix leak of strdup/strtoked buffer.
...
Fix CID 1108606.
11 years ago
Luca Barbato
ea71aafd68
avio: Use AVERROR_PROTOCOL_NOT_FOUND
...
When the protocol is missing ffurl_alloc() should return
AVERROR_PROTOCOL_NOT_FOUND instead of AVERROR(ENOENT).
Bug-Id: 577
CC: libav-stable@libav.org
11 years ago
Paul B Mahol
f5ed83c383
avformat/mxfdec; parse random index pack to get last partition offset and use it when footer partition offset is missing
...
Footer partition may not be present and even if present footer partition
offset may not be set in any partition except last one.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago