platform/upstream/libav.git
10 years agomatroskadec: Support HEVC demuxing
Yusuke Nakamura [Thu, 3 Oct 2013 05:34:53 +0000 (14:34 +0900)]
matroskadec: Support HEVC demuxing

10 years agomov: Support HEVC demuxing
Yusuke Nakamura [Thu, 3 Oct 2013 05:03:53 +0000 (14:03 +0900)]
mov: Support HEVC demuxing

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agoAdd raw HEVC demuxer
Dirk Farin [Thu, 12 Sep 2013 07:14:45 +0000 (09:14 +0200)]
Add raw HEVC demuxer

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agoFATE: Add HEVC tests
Guillaume Martres [Sun, 11 Aug 2013 10:53:01 +0000 (12:53 +0200)]
FATE: Add HEVC tests

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agoAdd HEVC decoder
Guillaume Martres [Sun, 11 Aug 2013 07:02:07 +0000 (09:02 +0200)]
Add HEVC decoder

Initially written by Guillaume Martres <smarter@ubuntu.com> as a GSoC
project. Further contributions by the OpenHEVC project and other
developers, namely:

Mickaël Raulet <mraulet@insa-rennes.fr>
Seppo Tomperi <seppo.tomperi@vtt.fi>
Gildas Cocherel <gildas.cocherel@laposte.net>
Khaled Jerbi <khaled_jerbi@yahoo.fr>
Wassim Hamidouche <wassim.hamidouche@insa-rennes.fr>
Vittorio Giovara <vittorio.giovara@gmail.com>
Jan Ekström <jeebjp@gmail.com>
Anton Khirnov <anton@khirnov.net>
Martin Storsjö <martin@martin.st>
Luca Barbato <lu_zero@gentoo.org>
Yusuke Nakamura <muken.the.vfrmaniac@gmail.com>
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diego Biurrun <diego@biurrun.de>

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agowebp: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
webp: stop using deprecated avcodec_set_dimensions

10 years agovp8: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
vp8: stop using deprecated avcodec_set_dimensions

10 years agovp56: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
vp56: stop using deprecated avcodec_set_dimensions

10 years agovp3: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
vp3: stop using deprecated avcodec_set_dimensions

10 years agotxd: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
txd: stop using deprecated avcodec_set_dimensions

10 years agotruemotion1: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
truemotion1: stop using deprecated avcodec_set_dimensions

10 years agotiff: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
tiff: stop using deprecated avcodec_set_dimensions

10 years agotarga: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
targa: stop using deprecated avcodec_set_dimensions

10 years agosvq1dec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
svq1dec: stop using deprecated avcodec_set_dimensions

10 years agosunrast: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
sunrast: stop using deprecated avcodec_set_dimensions

10 years agosgidec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
sgidec: stop using deprecated avcodec_set_dimensions

10 years agorv34: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
rv34: stop using deprecated avcodec_set_dimensions

10 years agorv10: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
rv10: stop using deprecated avcodec_set_dimensions

10 years agoptx: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
ptx: stop using deprecated avcodec_set_dimensions

10 years agopictordec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
pictordec: stop using deprecated avcodec_set_dimensions

10 years agopgssubdec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
pgssubdec: stop using deprecated avcodec_set_dimensions

10 years agopcx: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
pcx: stop using deprecated avcodec_set_dimensions

10 years agompegvideo_parser: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
mpegvideo_parser: stop using deprecated avcodec_set_dimensions

10 years agompeg4video_parser: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
mpeg4video_parser: stop using deprecated avcodec_set_dimensions

10 years agompeg12dec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
mpeg12dec: stop using deprecated avcodec_set_dimensions

10 years agomjpegdec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
mjpegdec: stop using deprecated avcodec_set_dimensions

10 years agolibvpxdec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
libvpxdec: stop using deprecated avcodec_set_dimensions

10 years agolibopenjpegdec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
libopenjpegdec: stop using deprecated avcodec_set_dimensions

10 years agokgv1dec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
kgv1dec: stop using deprecated avcodec_set_dimensions

10 years agoivi_common: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
ivi_common: stop using deprecated avcodec_set_dimensions

10 years agoindeo3: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
indeo3: stop using deprecated avcodec_set_dimensions

10 years agoh26[13]dec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
h26[13]dec: stop using deprecated avcodec_set_dimensions

10 years agogifdec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
gifdec: stop using deprecated avcodec_set_dimensions

10 years agog2meet: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
g2meet: stop using deprecated avcodec_set_dimensions

10 years agoeatqi: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
eatqi: stop using deprecated avcodec_set_dimensions

10 years agoeatgv: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
eatgv: stop using deprecated avcodec_set_dimensions

10 years agoeatgq: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
eatgq: stop using deprecated avcodec_set_dimensions

10 years agoeamad: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
eamad: stop using deprecated avcodec_set_dimensions

10 years agoeacmv: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
eacmv: stop using deprecated avcodec_set_dimensions

10 years agodvdsubdec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
dvdsubdec: stop using deprecated avcodec_set_dimensions

10 years agodvdec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
dvdec: stop using deprecated avcodec_set_dimensions

10 years agodpx: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
dpx: stop using deprecated avcodec_set_dimensions

10 years agodnxhddec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
dnxhddec: stop using deprecated avcodec_set_dimensions

10 years agodirac: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
dirac: stop using deprecated avcodec_set_dimensions

10 years agocdxl: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
cdxl: stop using deprecated avcodec_set_dimensions

10 years agoavs: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
avs: stop using deprecated avcodec_set_dimensions

10 years agoansi: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
ansi: stop using deprecated avcodec_set_dimensions

10 years agolavc/utils: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
lavc/utils: stop using deprecated avcodec_set_dimensions

10 years agooggparsetheora: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 08:39:14 +0000 (09:39 +0100)]
oggparsetheora: stop using deprecated avcodec_set_dimensions

10 years agolavc: replace avcodec_set_dimensions with ff_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 08:24:22 +0000 (09:24 +0100)]
lavc: replace avcodec_set_dimensions with ff_set_dimensions

avcodec_set_dimensions() is supposed to be an internal utility function,
there is no reason whatsoever for it to be public. Therefore deprecate
it.

10 years agoh264: wait for initial complete frame before outputing frames
John Stebbins [Fri, 11 Oct 2013 16:51:50 +0000 (09:51 -0700)]
h264: wait for initial complete frame before outputing frames

This can be optionally disabled whith the "output_corrupt" flags
option.  When in "output_corrupt" mode, incomplete frames are
signalled through AVFrame.flags FRAME_FLAG_INCOMPLETE_FRAME.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agoHNM4/HNM4A demuxer & video decoder
David Kment [Mon, 28 Oct 2013 00:38:02 +0000 (01:38 +0100)]
HNM4/HNM4A demuxer & video decoder

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agogradfun: x86: Factor out common code for some gradfun_filter_line() variants
Diego Biurrun [Thu, 24 Oct 2013 00:24:05 +0000 (02:24 +0200)]
gradfun: x86: Factor out common code for some gradfun_filter_line() variants

10 years agoavfilter: x86: K&R formatting cosmetics
Diego Biurrun [Wed, 23 Oct 2013 12:51:23 +0000 (14:51 +0200)]
avfilter: x86: K&R formatting cosmetics

10 years agobuild: Ensure that strip commands are run silently
Diego Biurrun [Tue, 29 Oct 2013 14:46:02 +0000 (15:46 +0100)]
build: Ensure that strip commands are run silently

10 years agolavf: Remove a now useless parameter to ffurl_register_protocol
Martin Storsjö [Tue, 29 Oct 2013 20:52:09 +0000 (22:52 +0200)]
lavf: Remove a now useless parameter to ffurl_register_protocol

This was added in 9b07a2dc02e9 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>
10 years agooggparsetheora: check av_mallocz result
Anton Khirnov [Sun, 27 Oct 2013 08:36:12 +0000 (09:36 +0100)]
oggparsetheora: check av_mallocz result

10 years agooggparsetheora: return meaningful error codes
Anton Khirnov [Sun, 27 Oct 2013 08:35:30 +0000 (09:35 +0100)]
oggparsetheora: return meaningful error codes

10 years agooggparsetheora: K&R cosmetics, reformat
Anton Khirnov [Mon, 28 Oct 2013 09:50:53 +0000 (10:50 +0100)]
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>
10 years agolavc: add error checking to apply_param_change.
Anton Khirnov [Sun, 27 Oct 2013 08:56:00 +0000 (09:56 +0100)]
lavc: add error checking to apply_param_change.

10 years agolibopenjpegdec: return meaningful error codes
Anton Khirnov [Sun, 27 Oct 2013 09:28:45 +0000 (10:28 +0100)]
libopenjpegdec: return meaningful error codes

10 years agobuild: remove pointless condition
Ingo Brückl [Thu, 24 Oct 2013 00:18:19 +0000 (02:18 +0200)]
build: remove pointless condition

$(STRIP) always expands to something, because it is one of the commands
in the BRIEF list. This renders the condition pointless.

Signed-off-by: Ingo Brückl <ib@wupperonline.de>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agoh264: Check all allocations
Derek Buitenhuis [Tue, 22 Oct 2013 19:46:09 +0000 (20:46 +0100)]
h264: Check all allocations

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agofate.sh: Allow non-fast-forwards when updating sources
Diego Biurrun [Fri, 25 Oct 2013 13:21:44 +0000 (15:21 +0200)]
fate.sh: Allow non-fast-forwards when updating sources

10 years agoavconv: stop accessing AVStream.parser
Anton Khirnov [Mon, 28 Oct 2013 14:10:21 +0000 (15:10 +0100)]
avconv: stop accessing AVStream.parser

It is private and must not be touched from outside of lavf.

10 years agolavc: add a dummy field to AVStream to preserve ABI compatibility for avconv
Anton Khirnov [Mon, 28 Oct 2013 13:59:20 +0000 (14:59 +0100)]
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
2ba68dd044ca8fc591139c05563840f546a9c0c0 breaks ABI compatibility for an
old avconv using a newer lavf. Fix this by adding a dummy field until
the next bump.

10 years agoavio: Check for memory allocation failure of private data
Derek Buitenhuis [Tue, 22 Oct 2013 19:22:13 +0000 (20:22 +0100)]
avio: Check for memory allocation failure of private data

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agotimefilter: Handle memory allocation failure
Derek Buitenhuis [Tue, 22 Oct 2013 17:46:37 +0000 (18:46 +0100)]
timefilter: Handle memory allocation failure

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agoconfigure: Provide an hardened toolchain option
Luca Barbato [Mon, 28 Oct 2013 12:22:52 +0000 (13:22 +0100)]
configure: Provide an hardened toolchain option

10 years agoconfigure: Move gcc-only -W option where it belongs
Luca Barbato [Mon, 28 Oct 2013 11:45:04 +0000 (12:45 +0100)]
configure: Move gcc-only -W option where it belongs

10 years agolavfi: do not export the filters from shared objects
Anton Khirnov [Mon, 28 Oct 2013 06:44:24 +0000 (07:44 +0100)]
lavfi: do not export the filters from shared objects

10 years agolavf: do not export av_register_{rtp,rdt}_dynamic_payload_handlers from shared objects
Anton Khirnov [Mon, 28 Oct 2013 06:31:13 +0000 (07:31 +0100)]
lavf: do not export av_register_{rtp,rdt}_dynamic_payload_handlers from shared objects

10 years agolavc: remove old unused audio conversion functions.
Anton Khirnov [Mon, 28 Oct 2013 06:27:35 +0000 (07:27 +0100)]
lavc: remove old unused audio conversion functions.

10 years agoac3dec: fix outptr increment.
Michael Niedermayer [Fri, 25 Oct 2013 22:46:53 +0000 (18:46 -0400)]
ac3dec: fix outptr increment.

Fixes corrupt data errors when downmixing in the AC-3 decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
CC:libav-stable@libav.org

10 years agolavc: don't set AVFrame.pts to random numbers in decoders.
Anton Khirnov [Sun, 27 Oct 2013 14:33:37 +0000 (15:33 +0100)]
lavc: don't set AVFrame.pts to random numbers in decoders.

10 years agolavf: remove unreliable timestamp guessing heuristic
Anton Khirnov [Sun, 27 Oct 2013 20:04:20 +0000 (21:04 +0100)]
lavf: remove unreliable timestamp guessing heuristic

10 years agog722dec: Change bits_per_codeword to the right option type
Martin Storsjö [Sun, 27 Oct 2013 19:57:06 +0000 (21:57 +0200)]
g722dec: Change bits_per_codeword to the right option type

This isn't a set of flags but just a plain integer in the range
6-8.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agoavfilter: fix const use of avfilter_next
Vittorio Giovara [Mon, 28 Oct 2013 01:58:13 +0000 (02:58 +0100)]
avfilter: fix const use of avfilter_next

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agoavfilter: have avfilter_get_by_name return const for next bump
Vittorio Giovara [Mon, 28 Oct 2013 01:58:12 +0000 (02:58 +0100)]
avfilter: have avfilter_get_by_name return const for next bump

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agolavc: disable CRC checking by default
Anton Khirnov [Mon, 21 Oct 2013 14:48:59 +0000 (16:48 +0200)]
lavc: disable CRC checking by default

10 years agolavc: change all decoders to behave consistently with AV_EF_CRCCHECK.
Anton Khirnov [Sat, 26 Oct 2013 20:46:48 +0000 (22:46 +0200)]
lavc: change all decoders to behave consistently with AV_EF_CRCCHECK.

Just crccheck prints a warning, crccheck+explode returns an error.

Also document this behavior.

10 years agoerror resilience: check error_concealment, not err_recognition.
Anton Khirnov [Fri, 25 Oct 2013 05:19:27 +0000 (07:19 +0200)]
error resilience: check error_concealment, not err_recognition.

err_recognition is supposed to trigger detecting and reporting errors,
not trying to fix them.

10 years agoavio: K&R formatting cosmetics
Luca Barbato [Sun, 27 Oct 2013 13:45:01 +0000 (14:45 +0100)]
avio: K&R formatting cosmetics

10 years agoh263: Check init_get_bits return value
Michael Niedermayer [Sat, 26 Oct 2013 17:02:34 +0000 (19:02 +0200)]
h263: Check init_get_bits return value

And use init_get_bits8 to check for integer overflows while at it.

CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years agoh263: Return meaningful errors
Luca Barbato [Sat, 26 Oct 2013 17:31:46 +0000 (19:31 +0200)]
h263: Return meaningful errors

10 years agoconfigure: Disable -Wmaybe-uninitialized by default
Luca Barbato [Sat, 26 Oct 2013 19:27:48 +0000 (21:27 +0200)]
configure: Disable -Wmaybe-uninitialized by default

It is by definition unreliable and causes pointless noise on valid
code.

10 years agoAVOptions: do not range check flag options.
Anton Khirnov [Sat, 26 Oct 2013 08:34:01 +0000 (10:34 +0200)]
AVOptions: do not range check flag options.

It does not make sense in the vast majority of use cases, no currently
defined AV_OPT_TYPE_FLAGS options in Libav set the range to anything
nontrivial, and many of those get it wrong (the "correct" range is
INT_MIN to INT_MAX so that the builtin constant "all" works).

10 years agoh264_ps: when parsing a VUI fails, only abort when explode is set
Anton Khirnov [Sat, 26 Oct 2013 08:22:31 +0000 (10:22 +0200)]
h264_ps: when parsing a VUI fails, only abort when explode is set

A VUI doesn't contain anything strictly necessary for decoding.
Apparently there are many samples with truncated VUIs in the wild, this
commit should allow decoding them.

10 years agoFATE: add bitexact sws flags to the fieldorder test
Paul B Mahol [Sat, 26 Oct 2013 16:21:29 +0000 (18:21 +0200)]
FATE: add bitexact sws flags to the fieldorder test

swscale is called for the 420 to 422 conversion

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agoavconv: drop a now useless variable
Anton Khirnov [Sun, 27 Oct 2013 07:42:05 +0000 (08:42 +0100)]
avconv: drop a now useless variable

10 years agoavframe: mark source frame const in _ref and _clone
Vittorio Giovara [Sat, 26 Oct 2013 14:43:07 +0000 (16:43 +0200)]
avframe: mark source frame const in _ref and _clone

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agommvideo: fix uninitialized variable use in mm_decode_intra
Vittorio Giovara [Sat, 26 Oct 2013 23:54:47 +0000 (01:54 +0200)]
mmvideo: fix uninitialized variable use in mm_decode_intra

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agolavr: check that current_buffer is not NULL before using it
Justin Ruggles [Sun, 27 Oct 2013 19:00:36 +0000 (15:00 -0400)]
lavr: check that current_buffer is not NULL before using it

Fixes a segfault during resampling when compiled with -DDEBUG.
Fixes all fate-lavr-resample tests with -DDEBUG.

CC:libav-stable@libav.org

10 years agofft-test: add a missing #include
Anton Khirnov [Sat, 26 Oct 2013 07:11:22 +0000 (09:11 +0200)]
fft-test: add a missing #include

stdio.h needed for printf since 7177df90a043bd59e172843fc7cb9e767080ea12

10 years agomem: do not check for negative size
Vittorio Giovara [Fri, 25 Oct 2013 14:41:12 +0000 (16:41 +0200)]
mem: do not check for negative size

size_t is guaranteed to be unsigned

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agofate: aac: Add test for AAC-ELD
Alex Converse [Tue, 22 Oct 2013 10:04:47 +0000 (10:04 +0000)]
fate: aac: Add test for AAC-ELD

10 years agoaacdec: Fix calls to avpriv_report_missing_feature().
Alex Converse [Fri, 25 Oct 2013 18:13:13 +0000 (18:13 +0000)]
aacdec: Fix calls to avpriv_report_missing_feature().

It does not take log level as an argument.

10 years agolibavutil: x86: Add AVX2 capable CPU detection.
Kieran Kunhya [Fri, 25 Oct 2013 12:53:56 +0000 (07:53 -0500)]
libavutil: x86: Add AVX2 capable CPU detection.

Patch based on x264's AVX2 detection

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agofft-test: Remove possibility of returning restricted exit code
Derek Buitenhuis [Tue, 22 Oct 2013 18:19:02 +0000 (19:19 +0100)]
fft-test: Remove possibility of returning restricted exit code

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agodct-test: Remove possibility of returning a restricted exit code
Derek Buitenhuis [Tue, 22 Oct 2013 18:18:36 +0000 (19:18 +0100)]
dct-test: Remove possibility of returning a restricted exit code

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>