ffmpeg.git
5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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.

5 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>
5 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>
5 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

5 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

5 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

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

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

5 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>
5 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.

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

5 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>
5 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>
5 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

5 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.

5 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.

5 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>
5 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>
5 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

5 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

5 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

5 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

5 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.

5 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

5 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.

5 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

5 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>
5 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>
5 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>
5 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

5 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.

5 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.

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

5 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>
5 years agoh263: Return meaningful errors
Luca Barbato [Sat, 26 Oct 2013 17:31:46 +0000 (19:31 +0200)]
h263: Return meaningful errors

5 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.

5 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).

5 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.

5 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>
5 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

5 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>
5 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>
5 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

5 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

5 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>
5 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

5 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.

5 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>
5 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>
5 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>
5 years agobase64-test: Remove posibility of returning restricted exit codes
Derek Buitenhuis [Tue, 22 Oct 2013 18:11:31 +0000 (19:11 +0100)]
base64-test: Remove posibility of returning restricted exit codes

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
5 years agotree-test: Don't return restricted exit codes
Derek Buitenhuis [Tue, 22 Oct 2013 18:08:43 +0000 (19:08 +0100)]
tree-test: Don't return restricted exit codes

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
5 years agogolomb: reduce scope of a few variables
Vittorio Giovara [Wed, 23 Oct 2013 13:43:19 +0000 (15:43 +0200)]
golomb: reduce scope of a few variables

Signed-off-by: Diego Biurrun <diego@biurrun.de>
5 years agoavfilter: x86: Port gradfun filter optimizations to yasm
Daniel Kang [Tue, 22 Oct 2013 00:37:46 +0000 (20:37 -0400)]
avfilter: x86: Port gradfun filter optimizations to yasm

Signed-off-by: Diego Biurrun <diego@biurrun.de>
5 years agogolomb: K&R formatting cosmetics
Vittorio Giovara [Tue, 22 Oct 2013 11:12:49 +0000 (13:12 +0200)]
golomb: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
5 years agoh263: K&R formatting cosmetics
Luca Barbato [Tue, 22 Oct 2013 17:37:44 +0000 (19:37 +0200)]
h263: K&R formatting cosmetics

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
5 years agoavstring-test: Mark pointer passed to av_free() as non-const
Diego Biurrun [Sat, 19 Oct 2013 14:12:49 +0000 (16:12 +0200)]
avstring-test: Mark pointer passed to av_free() as non-const

libavutil/avstring.c:278:9: warning: passing argument 1 of ‘av_free’ discards ‘const’ qualifier from pointer target type

5 years agompegvideo: Drop a faulty assert
Luca Barbato [Tue, 22 Oct 2013 17:17:10 +0000 (19:17 +0200)]
mpegvideo: Drop a faulty assert

That check is easily reachable by faulty input.

CC:libav-stable@libav.org
Reported-by: Torsten Sadowski <tsadowski@gmx.net>
5 years agoavfilter: Fix typo in Loren's email address
Diego Biurrun [Mon, 21 Oct 2013 20:35:02 +0000 (22:35 +0200)]
avfilter: Fix typo in Loren's email address

5 years agomovenc: Add an F4V muxer
Clément Bœsch [Mon, 17 Sep 2012 14:16:16 +0000 (16:16 +0200)]
movenc: Add an F4V muxer

F4V is Adobe's mp4/iso media variant, with the most significant
addition/change being supporting other flash codecs than just
aac/h264.

Signed-off-by: Martin Storsjö <martin@martin.st>
5 years agoaac: Add support for Enhanced AAC Low Delay (ER AAC ELD).
Alex Converse [Mon, 14 Oct 2013 20:51:46 +0000 (13:51 -0700)]
aac: Add support for Enhanced AAC Low Delay (ER AAC ELD).

This does not include support for LD SBR, epTool, data resilience, nor
the 960 transform family.

5 years agoaacdec: Use avpriv_report_missing_feature() instead of custom logging.
Alex Converse [Tue, 22 Oct 2013 10:41:04 +0000 (03:41 -0700)]
aacdec: Use avpriv_report_missing_feature() instead of custom logging.

5 years agonut: Fix unchecked allocations
Derek Buitenhuis [Tue, 22 Oct 2013 15:11:11 +0000 (16:11 +0100)]
nut: Fix unchecked allocations

CC: libav-stable@libav.org
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
5 years agopthread: Avoid crashes/odd behavior caused by spurious wakeups
Derek Buitenhuis [Fri, 18 Oct 2013 14:28:51 +0000 (15:28 +0100)]
pthread: Avoid crashes/odd behavior caused by spurious wakeups

This is similar to 5152196b2b47d446d9a509b9bfb318daa26a1f2b.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
5 years agofate: add fieldorder filter test
Vittorio Giovara [Sun, 13 Oct 2013 10:41:47 +0000 (10:41 +0000)]
fate: add fieldorder filter test

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agovf_fieldorder: log when processing is skipped
Vittorio Giovara [Tue, 22 Oct 2013 07:21:18 +0000 (07:21 +0000)]
vf_fieldorder: log when processing is skipped

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agoh264_parser: Use ff_h264_reset_sei()
Yusuke Nakamura [Mon, 14 Oct 2013 19:22:42 +0000 (19:22 +0000)]
h264_parser: Use ff_h264_reset_sei()

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agoh264_parser: Fix order of operations
Michael Niedermayer [Sun, 20 Oct 2013 12:11:05 +0000 (12:11 +0000)]
h264_parser: Fix order of operations

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agoavplay: Accept cpuflags option
Luca Barbato [Mon, 14 Oct 2013 03:41:45 +0000 (05:41 +0200)]
avplay: Accept cpuflags option

Quite useful for debugging.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agoavio: Use AVERROR_PROTOCOL_NOT_FOUND
Luca Barbato [Sun, 20 Oct 2013 20:01:54 +0000 (22:01 +0200)]
avio: Use AVERROR_PROTOCOL_NOT_FOUND

When the protocol is missing ffurl_alloc() should return
AVERROR_PROTOCOL_NOT_FOUND instead of AVERROR(ENOENT).

Bug-Id: 577
CC: libav-stable@libav.org
5 years agopthread: Avoid spurious wakeups
Ben Jackson [Fri, 18 Oct 2013 14:28:50 +0000 (15:28 +0100)]
pthread: Avoid spurious wakeups

pthread_wait_cond can wake up unexpectedly (Wikipedia: Spurious_wakeup).

The FF_THREAD_SLICE thread mechanism could spontaneously execute
jobs or allow the caller of avctx->execute to return before all
jobs were complete.

Test both cases to ensure the wakeup is real.

Signed-off-by: Ben Jackson <ben@ben.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>