Michael Niedermayer
a000975444
thp: simplify overallocate checks.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
47572323f2
lavf: add internal AVIOContext.maxsize
...
This allows simple and generic limiting of allocations used for packets.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
482ee63641
thpdemux: Check that packed sizes are within the files data size and filesize.
...
Fixes Ticket774
Bug found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e098fba5d9
avidec: Fix infinite loop caused by rounding of timestamps in non interleaved avis.
...
Fixes Ticket775
Bug found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
84e57702ea
configure: disable avconv again.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1f99939a63
j2kdec: Fix integer overflow leading to a segfault
...
Fixes Ticket776
Bug found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0988a6a035
movenc: disable iods by default
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Approved-by: MP4_maniac
Approved-by: Baptiste Coudurier
13 years ago
Michael Niedermayer
c402c1c976
smackerdemuxer: check some values before instead of just after malloc()
...
Fixes Ticket777
Bug Found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e2a16e82b1
westwooddemux: dont require avio_size() functionality.
...
Found by reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
9994643fdd
Export ff_vdpau_vc1_decode_picture().
...
XBMC's configure script checks for this function in installed
libavcodec.so to determine VDPAU support.
Fixes ticket #762 reported by Christian Marillat
13 years ago
Janne Grunau
72cb904453
swscale: add unscaled packed 16 bit per component endianess conversion
13 years ago
Michael Niedermayer
175cc378b3
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
movenc: Rudimentary IODs support.
v410enc: fix output buffer size check
v410enc: include correct headers
fate: add -pix_fmt rgb48le to r210 test
flvenc: Support muxing 16 kHz nellymoser
configure: refactor list of programs into a variable
fate: add r210 decoder test
fate: split off Indeo FATE tests into their own file
fate: split off ATRAC FATE tests into their own file
fate: Add FATE tests for v410 encoder and decoder
ARM: fix external symbol refs in rv40 asm
westwood: Make sure audio header info is present when parsing audio packets
libgsm: Reset the MS mode of GSM in the flush function
libgsm: Set options on the right object
ARM: dca: disable optimised decode_blockcodes() for old gcc
Conflicts:
configure
libavformat/movenc.c
libavformat/movenc.h
tests/fate2.mak
tests/ref/acodec/alac
tests/ref/vsynth1/mpeg4
tests/ref/vsynth2/mpeg4
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
56669837ce
Fix typo in v210 decoder options.
13 years ago
Michael Niedermayer
1f273c2bf2
ffmpeg: check return code from av_vsrc_buffer_add_frame()
...
Fixed Ticket770
Bug found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
1509bd3e9e
lavd/lavfi: remove a duplicated line.
13 years ago
Alex Converse
d3b8bde2f1
movenc: Rudimentary IODs support.
13 years ago
Michael Niedermayer
d0f7927177
smacker: Check for overread in smka_decode_frame()
...
Fixes a segfault with wetlog_fail.smk
Bug found by: Shitiz Garg
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tom Evans
ffa1f541b3
libavdevice: Fix v4l2 compilation under FreeBSD
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7f9369b743
lavf: update rfps debug code.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d19ca77f42
lavf: Fix fps misdetection when codec_info_duration is 0 and only a few frames are used to estimate fps.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5f95c130a0
mov: Fix near infinite loop in stsd parsing.
...
Fixes Ticket768
Bug found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4255d6d96c
westwooddemuxer: use av_get_packet()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f68b19fc28
westwooddemuxer: Fix 1gb alloc
...
Fixes Ticket765
Bug Found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
6f2054c589
Fix linesize for bmp with bitdepth < 8.
...
Fixes ticket #751 .
13 years ago
Mans Rullgard
dabba0c676
v410enc: fix output buffer size check
...
The encoder clearly needs width * height * 4 bytes.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
0249144a1c
v410enc: include correct headers
...
This file does not use anything from put_bits.h but needs
intreadwrite.h.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Nicolas George
2c82ab946b
lavf: add SBG demuxer.
13 years ago
Nicolas George
b33fd66f46
lavc: add ffwavesynth pseudo-codec.
13 years ago
Michael Niedermayer
62b5197f97
arm: add back ldr_dpren macro that was lost.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a4755df523
h264: fix midstream extardata handling with dump.f4v
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Janne Grunau
ef5756aee0
fate: add -pix_fmt rgb48le to r210 test
...
Fixes checksum on big endian systems.
13 years ago
Martin Storsjö
bd2ff1a8bc
flvenc: Support muxing 16 kHz nellymoser
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
484b1cdd53
jpegdec: check return value of mjpeg_decode_dc()
...
Fixes Ticket754
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
055c61b857
configure: refactor list of programs into a variable
13 years ago
Aneesh Dogra
beaf4012d2
fate: add r210 decoder test
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Michael Niedermayer
d998a6ddee
h264: Fix build with --disable-everything --enable-decoder='h264' --disable-optimizations
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
6146d78d35
fate: split off Indeo FATE tests into their own file
13 years ago
Diego Biurrun
44b7e1b942
fate: split off ATRAC FATE tests into their own file
13 years ago
Derek Buitenhuis
6c3abd70fd
fate: Add FATE tests for v410 encoder and decoder
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Mans Rullgard
b536c7a3e1
ARM: fix external symbol refs in rv40 asm
...
External symbol references need prefixes on some systems.
This should fix build errors on Darwin.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Shitiz Garg
566ee0eaf1
westwood: Make sure audio header info is present when parsing audio packets
...
Audio header information might get scrambled and would not parse,
yet wsqva_read_packet would try to parse audio packets causing
segfaults such as floating point exception.
Fixes bugzilla #141 .
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
1b35af3225
libgsm: Reset the MS mode of GSM in the flush function
...
The mode is set in libgsm_decode_init, but the decoder
object is simply destroyed and recreated in the flush
function - therefore the mode has to be set again.
This fixes playback using the libgsm_ms decoder in avplay.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
8637af8d24
libgsm: Set options on the right object
...
This fixes regressions in decoding using the libgsm_ms decoder,
broken since 0eea212943
.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
21270cffae
h263dec: Fix regression / crash with lowres.
...
Fixes Ticket757
Bug Found by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
30b996d443
flicvideo: input buffer pointer checks.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
afb2bac48d
flicvideo: fix overread.
...
Bug Found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
944f5b2779
aacsbr: Fix memory corruption.
...
Fixes Ticket760 and Ticket761
Bug Found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7fff64e00d
h264: check chroma_format_idc range.
...
Fixes Ticket758
Bug found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
f7de52354f
ARM: dca: disable optimised decode_blockcodes() for old gcc
...
Old gcc versions have trouble compiling this function, and
no simple, targeted test is possible.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
cd645c15d8
indeo3: check return values of allocate_frame_buffers()
...
Bug Found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago