Diego Biurrun
717addecad
Use proper return values in case of missing features
12 years ago
Diego Biurrun
930c9d4373
avutil: Duplicate ff_log2_tab instead of sharing it across libs
...
The table is so small that the space gain is not worth the
performance overhead of cross-library access.
12 years ago
Michael Niedermayer
b8d64559d5
movenc: fix timescale for timecode track
...
regression since b02493e476
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Heesuk Jung
e3301459f6
avidec: Use sample size in case incorrect timestamps for aac in AVI (Ticket #1755 )
...
In some case for aac in AVI, avidec extracts wrong PTS value.
(www.ffmpeg.org/trac/ffmpeg/ticket/1755)
I found additional case(ss=4096) and add condition.
Problematic file link : https://docs.google.com/open?id=0B6r7ZfWFIypCOTdZQUtGVEdJUUE
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Bradshaw
a41c824c53
Parse DEFINESOUND tags in swf (fix ticket 1638)
...
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
5a2cb78219
rtspdec: Set the default port for listen mode, if none is specified
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
2f1b2ff934
rtmpproto: Fix an out of array write
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
eae35eadc0
rtspdec: Fix use of uninitialized byte
...
ffurl_read_complete can return 0 as well as negative error codes.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Paul B Mahol
3d179edf6d
yop: check return value of avformat_new_stream()
...
Fixes null pointer dereference, fixes CID703729.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
5a75924dfd
rtmpproto: fix out of array write
...
Fixes CID732263
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
0c6b9b9fe5
rtspdec:read_line: fix use of uninitialized byte
...
Fixes CID732301
Fixes CID723300
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
59cbedfc3d
update_initial_timestamps: increase pts_buffer size
...
Fixes CID733786
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
da18e918a4
md5: Allocate a normal private context for the opaque md5 context pointer
...
This avoids having to overestimate the md5 context size, which
isn't known beforehand, allowing us to use the new allocate functions
instead.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
e002e3291e
Use the new aes/md5/sha/tree allocation functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Paul B Mahol
3632f35c8e
bethsoftvid: check return value of av_packet_new_side_data()
...
Fixes null pointer dereference, fixes CID733777.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Carl Eugen Hoyos
1a104bf641
Fix broken timestamps for some mp3 in avi samples.
...
Mostly based on 73ad355
by Michael Niedermayer.
Fixes ticket #606 .
12 years ago
Michael Niedermayer
317505b566
lavf: do not prematurely accept a format with low score in init_input()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b47396b614
img2dec: detect .raw files only with a low score as img2
...
They can be many other things and this otherwise breaks probing of some .raw files.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
94f5470a20
lavf: add a AVPROBE_SCORE_RETRY instead of using hardcoded values.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Janne Grunau
bd141f5ec9
mxfdec: return error if no segments are available in mxf_get_sorted_table_segments
...
Fixes CID732275.
12 years ago
Luca Barbato
b522000e9b
avio: introduce avio_closep
12 years ago
Luca Barbato
26db9100b2
segment: support applehttp style list
12 years ago
Luca Barbato
82569b01a1
mpegtsenc: set muxing type notification to verbose
12 years ago
Paul B Mahol
ee109c6bc2
dtshd: fix seeking
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
73ad355d23
avidec: fix 10l typo
...
found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
229e33a2b6
avidec: override sample size of 1024 for VBR AAC
...
Fixes Ticket1755
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
03cc52a07d
takdec: fix seeking
...
The previous approach was just wrong.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
eb71f027f0
dtshd: remove redundant/wrong avio_tell()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
1470c8a9a3
takdec: remove redundant/wrong avio_tell()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Duncan Salerno
f3f35f7430
crypto should allow passing of options to the underlying protocol via the url_open2 interface
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Duncan Salerno
bd2f8e8f79
Fix second use of AVOptions in HLS
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Janne Grunau
d5ef9354ce
rtspdec: use av_strlcpy for writing into fixed size buffer
...
Fixes CID231347.
12 years ago
Janne Grunau
4a7c0c4555
http: use av_strlcpy instead of strcpy() without size checks
...
Fixes CID700730.
12 years ago
Andrey Utkin
b6f435fbc8
http: add 'timeout' AVOption
...
This option is passed though to underlying tcp protocol context
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Andrey Utkin
2e009c6042
tcp: accept params through avio_open2() options
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Andrey Utkin
949acefc11
tcp: use timeout option consistently
...
Default _connection_ timeout value 5 seconds is left as i/o timeout also
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Andrey Utkin
d2b18c8f5b
Introduce ff_network_wait_fd_timeout()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Janne Grunau
4ffbe3f3a5
matroskaenc: check cue point validity before reallocation
...
Prevents memory leak and possible access to freed memory.
Fixes CID605744.
12 years ago
Janne Grunau
53e122dd4a
swfenc: error out for more than 1 audio or video stream
...
Prevents CID602000.
12 years ago
Janne Grunau
8dd0650fe6
rtpdec_mpeg4: au_headers is a single array, simple av_free is enough
...
Fixes CID700204.
12 years ago
Martin Storsjö
7bc433b36d
fate: Add tests of the ff_make_absolute_url function
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Duncan Salerno
33893e6abc
url: Handle relative urls starting with two slashes
...
This is defined by RFC 3986 section 5.4.1 to be handled this way.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Duncan Salerno
eea003814c
url: Handle relative urls being just a new query string
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Duncan Salerno
a6363e3d89
url: Don't treat slashes in query parameters as directory separators
...
Strip off query parameters from the original url before
applying the new relative path.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
f75f4194d1
Restructure av_log_missing_feature message
...
Some invocations include a verb in the log message, others do not. Yet
av_log_missing_feature expects callers to provide a verb. Change the
function to include a verb instead and update the callers accordingly.
The result is a more natural function API and correct English in the
function invocations.
12 years ago
Paul B Mahol
238e904df3
DTS-HD demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Martin Storsjö
c136a813d7
rtp: Support packetization/depacketization of opus
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Yusuke Nakamura
e04826c34e
file: Set the return value type for lseek to int64_t.
...
This fixes a regression in 4ed5ac5
.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Tim Nicholson
a02762995b
movenc.c: Force correct value for "Samples per packet" for pcm audio
...
Apple spec is for it to always be "1" for uncompressed audio.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
c9b10cc4db
rtpenc_vp8: Update the packetizer to the latest spec version
...
Tested to work with the gstreamer depacketizer.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago