Carl Eugen Hoyos
5cd947d81b
Fix r10k codec for widths that are not multiples of 64.
...
Fixes ticket #1358
13 years ago
Carl Eugen Hoyos
77cea13f05
Mark avui encoder experimental.
...
Some decoders require the AVID atom that we currently
do not write when encoding avui.
13 years ago
Michael Niedermayer
b4904e804d
jvdec: check videosize
...
Fixes null ptr dereference
fixes Ticket1364
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
50122084a6
motionpixels: check extradata size
...
Fixes null ptr derefernce
Fixes Ticket1363
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
849d4b0413
iff_ilbm: fix null ptr deref
...
Fixes Ticket1362
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
77a4c8b959
yop: check for missing extradata
...
Fixes null ptr deref
Fixes Ticket1361
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
01900fcc45
xan: fix out of array read
...
Fixes ticket1360
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1e5c7376c4
cdgraphics: Fix out of array write
...
Fixes Ticket1359
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
83de4f5fc9
Test extradata size before reading from extradata when decoding avui.
13 years ago
Vitor Sessak
2fd5e70869
x86: use new schema for ASM macros
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
ab7d6cb8f7
Support decoding fourcc YVYU.
...
Based on work by ami_stuff.
Fixes ticket #1352
13 years ago
Michael Niedermayer
a48b890392
aacdec: fix "may be used uninitialized" warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
21e5dd93d7
aacpsy: fix "may be used uninitialized" warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
ami_stuff
ca8623e1a5
Support some BOXX codecs.
...
Fixes a part of ticket #1352 .
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Kostya Shishkov
d073f122ea
imc: some cosmetics
13 years ago
Michael Niedermayer
5e50a5724b
Revert "removing lowres support"
...
There have been multiple user complaints about loosing this feature
while its not clear the 3% speedloss claims where real or fabricated.
My own testing indicates no statistically significant speed difference
both with mpeg2 and mpeg4, and if at all the code with lowres support
is a tiny bit faster than without.
This reverts commit 92ef4be4ab
, reversing
changes made to 2e07f42957
.
Conflicts:
cmdutils.c
libavcodec/arm/vp8dsp_init_arm.c
libavcodec/mpegvideo.c
libavcodec/mpegvideo.h
libavutil/arm/Makefile
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
001d9d5e93
Fix compilation with --disable-everything.
13 years ago
Stefano Sabatini
f2ee065638
lavu/pixfmt: move AVPALETTE_SIZE and _COUNT to pixfmt.h
...
Move AVPALETTE_SIZE and AVPALETTE_COUNT definition from
libavcodec/avcodec.h to libavutil/pixfmt.h.
The definition is more useful in libavutil, where it can be shared for
example by libavfilter and libswscale.
13 years ago
Michael Niedermayer
90290a5150
tqi: Pass errors from the MB decoder
...
This silences some valgrind warnings.
CC: libav-stable@libav.org
Fixes second half of http://ffmpeg.org/trac/ffmpeg/ticket/794
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit f85334f58e
)
13 years ago
Michael Niedermayer
3cb83b225e
xsubdec: print frame size when too small
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
5e268633d1
Do not leak extradata when encoding avui.
13 years ago
Carl Eugen Hoyos
fb6c6b15d7
avuienc: Use field_order to determine if a stream is interlaced.
13 years ago
Carl Eugen Hoyos
7a0d00dc79
Fix compilation with --disable-everything --enable-demuxer=ogg (--disable-yasm).
13 years ago
Carl Eugen Hoyos
9ddc47227d
Fix compilation with --disable-everything --enable-demuxer=flac (--disable-yasm).
13 years ago
Michael Niedermayer
e15f1286e6
ffv1: fix decoder state_transition table
...
This fixes a regression with ffv1.1 coder=1 decoding
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
60c950ac08
dwt: use av_freep()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
713548cbad
x86: lavc: use %if HAVE_AVX guards around AVX functions in yasm code.
...
This is needed for older versions of yasm/nasm that do not support AVX.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Michael Niedermayer
d9b92980c9
libvorbis: only store version string if bitexact is not set.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
50858a64bf
Add Avid Meridien Uncompressed (AVUI) encoder.
13 years ago
Michael Niedermayer
035f6620ce
mpeg4videoparser: support using timestamps from codec.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
696452e4c5
avcodec: add parser flag to indicate that codec TS are the only available and should be used
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
cc7fac9970
dwt: return errors from ff_slice_buffer_init()
13 years ago
Paul B Mahol
672f8226bb
shorten: fix lossy decoding
...
Closes #1299 , #1300 and #1301 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Jordi Ortiz
c89e428ed8
dwt: check malloc calls
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
3ea5429489
ppc: Drop unused header regs.h
13 years ago
Kieran Kunhya
5ff01259a8
Convert vector_fmul range of functions to YASM and add AVX versions
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Michael Niedermayer
faa2930f19
flvdec: reenable extradata passing code
...
This fixes passing junk in stream.
It should not have any user vissible effect.
We are discarding the new data in the decoder as no case is known
where it is needed but it causes problems if used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a6f650af8d
aac: fix SCE in stereo case, this is surprisingly actually needed
...
Fixes Ticket513
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a3710f1ebb
aacdec: print debug note when unexpected SCE/CPE is encountered
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3230590c5d
libavcodec: fix side data split with 0 sized packets
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a1bb0823a9
libavcodec: correct consumed bytes for decoders
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
307562be98
mpeg4videodec: print more debug info for debug_pict_info
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8258697c49
ivi_common: skip null frames for all indeo variants
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jordi Ortiz
13a867a63e
dwt: K&R prettyprinting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Jean First
f7985f348f
exr: fix header parsing
...
the header in the sample provided for ticket #1306 is not parsed correctly and thus
ffmpeg tries to decode the sample instead of abording the decoding.
I tested it with two other exr samples I have - one float, one half float - and
they still decode correctly.
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Piotr Bandurski
cb7b0f3573
flicvideo: support 256-bytes extradata
...
sample:
http://www.datafilehost.com/download-ab1156a9.html
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Piotr Bandurski
718b90d4b9
aasc: support 16bpp
...
sample:
http://www.datafilehost.com/download-b881f3f6.html
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
4f04f5cc8b
indeo: Make ivi_calc_band_checksum() static, it is only used in one file.
13 years ago
Diego Biurrun
9ccbdc0aca
indeo: Drop unused debug function ivi_check_band().
13 years ago
Diego Biurrun
0c517644b2
avcodec/utils: cast a function argument to shut up a compiler warning
...
libavcodec/utils.c:251: note: expected ‘const uint8_t *’ but argument is of type ‘const short int *’
13 years ago