Michael Bradshaw
d3b84fdccc
libopenjpegdec: add support for decoding YUV420/422/444P12/14
...
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
2012-07-04 08:37:52 -06:00
Michael Bradshaw
713a7854e0
libopenjpegenc: cosmetics: reorder pix_fmts
...
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
2012-07-04 08:37:46 -06:00
Michael Bradshaw
7544ef7805
libopenjpegenc: add support for YUV420/422/444P12/14
...
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
2012-07-04 08:37:42 -06:00
Michael Niedermayer
5eb4af6c59
snow: move init code that depends on picture paramaters to after these parameters are known.
...
This should fix debug 2048 amongth other things
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-04 01:02:01 +02:00
Michael Niedermayer
93d672967d
video_get_buffer: return ENOMEM instead of -1 on malloc failure
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-04 00:47:18 +02:00
Michael Niedermayer
f339ebc1ff
lavc/utils: print error message on get_buffer related errors
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-04 00:46:36 +02:00
Michael Niedermayer
86e107a7d4
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
cosmetics: Consistently use C-style comments with multiple inclusion guards
anm: fix a few Doxygen comments
misc typo and wording fixes
attributes: add av_noreturn
attributes: drop pointless define guards
configure: do not disable av_always_inline with --enable-small
flvdec: initial stream switch support
avplay: fix write on freed memory for rawvideo
snow: remove a VLA used for edge emulation
x86: lavfi: fix gradfun/yadif build with mmx/sse disabled
snow: remove the runs[] VLA.
snow: Check mallocs at init
flacdec: remove redundant setting of avctx->sample_fmt
Conflicts:
ffplay.c
libavcodec/h264.c
libavcodec/snow.c
libavcodec/snow.h
libavcodec/snowdec.c
libavcodec/snowenc.c
libavformat/flvdec.c
libavutil/attributes.h
tools/patcheck
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-04 00:32:31 +02:00
Michael Niedermayer
6ea973fc4c
avcodec_align_dimensions2: support 12 & 14 bit planar colorspaces
...
Reviewed-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-03 19:03:40 +02:00
Michael Niedermayer
4251a0b84c
imgconvert: add planar RGB formats to pix_fmt_info
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-03 19:03:26 +02:00
Michael Niedermayer
6ca8ef5189
imgconvert: add yuv 9,10,12,14 bit planar YUV formats to pix_fmt_info
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-03 19:03:26 +02:00
Diego Biurrun
4051be6f50
anm: fix a few Doxygen comments
2012-07-03 17:35:11 +02:00
Diego Biurrun
09f211987c
misc typo and wording fixes
2012-07-03 17:35:11 +02:00
Ronald S. Bultje
3389545157
snow: remove a VLA used for edge emulation
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-03 16:31:23 +03:00
Paul B Mahol
5d171b1f47
jvdec: check if there is enough data
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-07-03 13:06:23 +00:00
Paul B Mahol
f8a81755c2
jvdec: remove redundant check
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-07-03 13:06:23 +00:00
Paul B Mahol
1bc9e4c5b2
jvdec: remove buf_size
...
It is same as avpkt->size.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-07-03 13:06:23 +00:00
Paul B Mahol
1c638cfc25
jvdec: stop reading partial palette
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-07-03 13:06:23 +00:00
Michael Niedermayer
114f82ee7e
jvdec: check that the video_size fits in the packet.
...
Prevents use of out of array data and fate failure.
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-03 12:38:03 +02:00
Ronald S. Bultje
cbd9b2f918
snow: remove the runs[] VLA.
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-03 12:16:46 +03:00
Martin Storsjö
4d8516fdb1
snow: Check mallocs at init
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-03 12:16:39 +03:00
Michael Niedermayer
6671c40038
h264pred: assert that depth is supported
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-03 03:31:06 +02:00
Michael Niedermayer
9c995fe19a
h264dsp: assert that depth is supported
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-03 03:31:06 +02:00
Michael Niedermayer
5a1bbb3af0
dsputil: assert that depth is supported
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-03 03:31:06 +02:00
Stefano Sabatini
ab7dbdc92c
lavc/rawdec: add assertion check in raw_decode()
...
Check on an implicit assumption done on the number of coded bits for
paletted rawvideo with coded bits == 2.
2012-07-03 01:25:02 +02:00
Stefano Sabatini
17a54f5de8
lavc/rawdec: prefer constant AVPALETTE_SIZE over 256*4
...
Improve readability.
2012-07-03 01:24:56 +02:00
Michael Niedermayer
4330b8bba2
h264: sps: handle more profiles
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-03 00:40:26 +02:00
Michael Niedermayer
9091ba9dfa
h264: add support for constraint_set4_flag / constraint_set5_flag
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-03 00:36:26 +02:00
Michael Niedermayer
b2527d5d5a
Revert "alsdec: remove dead assignments"
...
This reverts commit 4ca6d206d1
.
The assignment is not dead, this should fix fate failures on BSD
2012-07-02 23:43:06 +02:00
Michael Niedermayer
bafa1c7f38
h264: add avpriv_h264_has_num_reorder_frames()
...
This function exports the exact sps.num_reorder_frames value
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-02 23:16:59 +02:00
Mans Rullgard
4719ea7e1e
flacdec: remove redundant setting of avctx->sample_fmt
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-02 22:13:32 +01:00
Michael Niedermayer
b286383bd2
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
asfdec: read attached pictures.
apetag: reindent
apetag: export attached covers as video streams.
apetag: fix the amount of data read from binary tags.
apetag: make sure avio_get_str() doesn't read more than it should.
mov: read itunes cover art.
snow: remove VLA in mc_block()
intfloat: Don't use designated initializers in the public headers
snow: remove a VLA.
doc: Remind devs to check return values, especially for malloc() et al
MS ATC Screen (aka MSS3) decoder
vf_yadif: move x86 init code to x86/yadif.c
vf_gradfun: move x86 init code to x86/gradfun.c
roqvideo: Remove a totally unused dspcontext
smacker: remove some unused code
dsicin: remove dead assignment
aacdec: remove dead assignment
rl2: remove dead assignment
proresenc: make a variable local to the loop where it is used
alsdec: remove dead assignments
Conflicts:
Changelog
doc/developer.texi
libavcodec/allcodecs.c
libavcodec/avcodec.h
libavcodec/version.h
libavfilter/gradfun.h
libavfilter/x86/gradfun.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-02 21:19:41 +02:00
Michael Niedermayer
2278a3e5f7
vc1dsp: use av_assert2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-02 20:52:36 +02:00
Michael Niedermayer
2ceaffc627
resample2: use av_assert()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-02 20:52:22 +02:00
Mans Rullgard
58e57c3052
snow: remove VLA in mc_block()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-02 12:24:12 +01:00
Michael Niedermayer
fbdb205968
wmaenc: dont mess with the bitrate.
...
The bitrate is not writeable by an encoder.
Fixes generation of invalid wma
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-02 12:48:29 +02:00
Ronald S. Bultje
33bb63cb3e
snow: remove a VLA.
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-02 13:04:00 +03:00
Kostya Shishkov
edf35d8342
MS ATC Screen (aka MSS3) decoder
2012-07-02 07:14:44 +02:00
Martin Storsjö
fc31508e3a
roqvideo: Remove a totally unused dspcontext
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-01 23:54:35 +03:00
Michael Niedermayer
5eb353e0cd
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
opt/eval: Include mathematics.h for NAN/INFINITY
mathematics: Don't use division by zero in NAN/INFINITY macros
wma: Lower the maximum number of channels to 2
x86: cpu: clean up check for cpuid instruction support
ARM: generate position independent code to access data symbols
Conflicts:
libavutil/opt.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-01 22:43:09 +02:00
Mans Rullgard
779f8bc24e
smacker: remove some unused code
...
This removes some code apparently left over from vlc reader
debugging.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-01 20:38:14 +01:00
Mans Rullgard
d55e5e6bae
dsicin: remove dead assignment
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-01 20:38:14 +01:00
Mans Rullgard
3c928477d2
aacdec: remove dead assignment
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-01 20:38:14 +01:00
Mans Rullgard
800ab1bafa
rl2: remove dead assignment
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-01 20:38:14 +01:00
Mans Rullgard
1c2c64edac
proresenc: make a variable local to the loop where it is used
...
This moves the mbs_per_slice declaration inside the only loop
where it is used. Fixes a dead assignment.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-01 20:38:14 +01:00
Mans Rullgard
4ca6d206d1
alsdec: remove dead assignments
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-01 20:38:14 +01:00
Michael Niedermayer
87b9868972
h264: clear the ref lists when the reference are cleared.
...
Fixes reading of freed arrays (Ticket1498)
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-01 20:49:31 +02:00
Michael Niedermayer
0c9283a03f
h264: check log2_max_poc_lsb for validity
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-01 20:49:31 +02:00
Michael Niedermayer
91ce7c21f0
ituh263dec: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-01 18:04:08 +02:00
Michael Niedermayer
9eb6e5cc48
wmaenc: switch all remaining asserts to av_asserts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-01 18:02:17 +02:00
Martin Storsjö
710bd8a33e
wma: Lower the maximum number of channels to 2
...
ff_wma_init is used only by wmadec and wmaenc, and neither of them
can handle more than 2 channels.
This fixes crashes with invalid files.
Based on patch by Piotr Bandurski and Michael Niedermayer.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-01 15:51:26 +03:00