ffmpeg.git
5 years agoavcodec/bink: fix seeking to frame 0
Michael Niedermayer [Wed, 30 Oct 2013 22:56:52 +0000 (23:56 +0100)]
avcodec/bink: fix seeking to frame 0

Fixes Ticket3088

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/jpeglsdec: check err value for ls_get_code_runterm()
Michael Niedermayer [Wed, 30 Oct 2013 22:27:28 +0000 (23:27 +0100)]
avcodec/jpeglsdec: check err value for ls_get_code_runterm()

Fixes infinite loop
Fixes Ticket3086

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoOptimize pure C unscaled yuv2rgb.
Reimar Döffinger [Fri, 25 Oct 2013 20:46:06 +0000 (22:46 +0200)]
Optimize pure C unscaled yuv2rgb.

Aligning the tables reduces the amount of code generated on
e.g. ARM as the offset constant then has few enough set bits
so it can be encoded inside a single instruction instead of 2.
Ideally all should be declared aligned, but the DECLARE_ALIGNED
macros does not work with pointer tables, thus also reordered
the tables.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
5 years agoavcodec/mpeg12dec: Use skip_1stop_8data_bits()
Michael Niedermayer [Wed, 30 Oct 2013 17:28:00 +0000 (18:28 +0100)]
avcodec/mpeg12dec: Use skip_1stop_8data_bits()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/vaapi_mpeg2: Use skip_1stop_8data_bits()
Michael Niedermayer [Wed, 30 Oct 2013 17:28:00 +0000 (18:28 +0100)]
avcodec/vaapi_mpeg2: Use skip_1stop_8data_bits()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/svq3: Use skip_1stop_8data_bits()
Michael Niedermayer [Wed, 30 Oct 2013 17:28:00 +0000 (18:28 +0100)]
avcodec/svq3: Use skip_1stop_8data_bits()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/svq1dec: Use skip_1stop_8data_bits()
Michael Niedermayer [Wed, 30 Oct 2013 17:28:00 +0000 (18:28 +0100)]
avcodec/svq1dec: Use skip_1stop_8data_bits()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/ituh263dec: Use skip_1stop_8data_bits()
Michael Niedermayer [Wed, 30 Oct 2013 17:28:00 +0000 (18:28 +0100)]
avcodec/ituh263dec: Use skip_1stop_8data_bits()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/intelh263dec: Use skip_1stop_8data_bits()
Michael Niedermayer [Wed, 30 Oct 2013 17:28:00 +0000 (18:28 +0100)]
avcodec/intelh263dec: Use skip_1stop_8data_bits()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/h261dec: Use skip_1stop_8data_bits()
Michael Niedermayer [Wed, 30 Oct 2013 17:28:00 +0000 (18:28 +0100)]
avcodec/h261dec: Use skip_1stop_8data_bits()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/flvdec: Use skip_1stop_8data_bits()
Michael Niedermayer [Wed, 30 Oct 2013 17:28:00 +0000 (18:28 +0100)]
avcodec/flvdec: Use skip_1stop_8data_bits()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/dxva2_mpeg2: Use skip_1stop_8data_bits()
Michael Niedermayer [Wed, 30 Oct 2013 17:28:00 +0000 (18:28 +0100)]
avcodec/dxva2_mpeg2: Use skip_1stop_8data_bits()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/get_bits: add skip_1stop_8data_bits
Michael Niedermayer [Wed, 30 Oct 2013 17:22:03 +0000 (18:22 +0100)]
avcodec/get_bits: add skip_1stop_8data_bits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 30 Oct 2013 16:48:43 +0000 (17:48 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavf: Remove a now useless parameter to ffurl_register_protocol

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/intelh263dec: make while get_bits loop more robust by checking bits left
Michael Niedermayer [Wed, 30 Oct 2013 13:23:30 +0000 (14:23 +0100)]
avcodec/intelh263dec: make while get_bits loop more robust by checking bits left

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/ituh263dec: make while get_bits loop more robust by checking bits left
Michael Niedermayer [Wed, 30 Oct 2013 13:23:30 +0000 (14:23 +0100)]
avcodec/ituh263dec: make while get_bits loop more robust by checking bits left

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/ivi_common: make while get_bits loop more robust by checking bits left
Michael Niedermayer [Wed, 30 Oct 2013 13:23:30 +0000 (14:23 +0100)]
avcodec/ivi_common: make while get_bits loop more robust by checking bits left

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/flacdec: use get_unary() simplify code
Michael Niedermayer [Wed, 30 Oct 2013 13:58:04 +0000 (14:58 +0100)]
avcodec/flacdec: use get_unary() simplify code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/h261dec: make while get_bits loop more robust by checking bits left
Michael Niedermayer [Wed, 30 Oct 2013 13:23:30 +0000 (14:23 +0100)]
avcodec/h261dec: make while get_bits loop more robust by checking bits left

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/flvdec: make while get_bits loop more robust by checking bits left
Michael Niedermayer [Wed, 30 Oct 2013 13:23:30 +0000 (14:23 +0100)]
avcodec/flvdec: make while get_bits loop more robust by checking bits left

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/flacdec: make while get_bits loop more robust by checking bits left
Michael Niedermayer [Wed, 30 Oct 2013 13:23:30 +0000 (14:23 +0100)]
avcodec/flacdec: make while get_bits loop more robust by checking bits left

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agodoc/examples/demuxing: reset got_frame.
Clément Bœsch [Wed, 30 Oct 2013 13:37:33 +0000 (14:37 +0100)]
doc/examples/demuxing: reset got_frame.

Fix infinite loop at flushing.

5 years agoavcodec/cook: fix deadlock by using get_unary()
Paul B Mahol [Wed, 30 Oct 2013 13:24:45 +0000 (13:24 +0000)]
avcodec/cook: fix deadlock by using get_unary()

Fixes #3089.
Reported-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavcodec/mdec: use dsp.bswap16_buf()
Paul B Mahol [Wed, 30 Oct 2013 09:01:01 +0000 (09:01 +0000)]
avcodec/mdec: use dsp.bswap16_buf()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavcodec/svq3: use av_fast_padded_malloc()
Paul B Mahol [Wed, 30 Oct 2013 09:17:26 +0000 (09:17 +0000)]
avcodec/svq3: use av_fast_padded_malloc()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavcodec/utvideoenc: use av_fast_padded_malloc()
Paul B Mahol [Wed, 30 Oct 2013 09:07:43 +0000 (09:07 +0000)]
avcodec/utvideoenc: use av_fast_padded_malloc()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavcodec/wavpack: use init_get_bits8()
Paul B Mahol [Tue, 29 Oct 2013 09:46:32 +0000 (09:46 +0000)]
avcodec/wavpack: use init_get_bits8()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavcodec/apedec: use init_get_bits8()
Paul B Mahol [Tue, 29 Oct 2013 10:53:53 +0000 (10:53 +0000)]
avcodec/apedec: use init_get_bits8()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavcodec/xan: use init_get_bits8()
Paul B Mahol [Tue, 29 Oct 2013 13:22:36 +0000 (13:22 +0000)]
avcodec/xan: use init_get_bits8()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavcodec/binkaudio: use init_get_bits8()
Paul B Mahol [Tue, 29 Oct 2013 13:28:33 +0000 (13:28 +0000)]
avcodec/binkaudio: use init_get_bits8()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavcodec/4xm: use av_fast_padded_malloc()
Paul B Mahol [Tue, 29 Oct 2013 13:37:16 +0000 (13:37 +0000)]
avcodec/4xm: use av_fast_padded_malloc()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavcodec/mdec: use av_fast_padded_malloc()
Paul B Mahol [Tue, 29 Oct 2013 14:30:23 +0000 (14:30 +0000)]
avcodec/mdec: use av_fast_padded_malloc()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavcodec/motionpixels: use av_fast_padded_malloc()
Paul B Mahol [Wed, 30 Oct 2013 08:51:01 +0000 (08:51 +0000)]
avcodec/motionpixels: use av_fast_padded_malloc()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 30 Oct 2013 09:40:48 +0000 (10:40 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  oggparsetheora: check av_mallocz result

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge commit '5e5fb21877d8da7b3b8a27bb4d6a070d210c152d'
Michael Niedermayer [Wed, 30 Oct 2013 09:35:29 +0000 (10:35 +0100)]
Merge commit '5e5fb21877d8da7b3b8a27bb4d6a070d210c152d'

* commit '5e5fb21877d8da7b3b8a27bb4d6a070d210c152d':
  oggparsetheora: return meaningful error codes

Conflicts:
libavformat/oggparsetheora.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge commit 'd4c12b8be4bdd2ffddb3bd5e11773de4c4c46f68'
Michael Niedermayer [Wed, 30 Oct 2013 09:26:00 +0000 (10:26 +0100)]
Merge commit 'd4c12b8be4bdd2ffddb3bd5e11773de4c4c46f68'

* commit 'd4c12b8be4bdd2ffddb3bd5e11773de4c4c46f68':
  oggparsetheora: K&R cosmetics, reformat

Conflicts:
libavformat/oggparsetheora.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge commit 'b9589f5a770ec2357ab7920a5fabe8510b8601f9'
Michael Niedermayer [Wed, 30 Oct 2013 09:13:23 +0000 (10:13 +0100)]
Merge commit 'b9589f5a770ec2357ab7920a5fabe8510b8601f9'

* commit 'b9589f5a770ec2357ab7920a5fabe8510b8601f9':
  lavc: add error checking to apply_param_change.

Conflicts:
libavcodec/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge commit '5c0a09839c707f10e5dba59460e219e989c1da93'
Michael Niedermayer [Wed, 30 Oct 2013 08:33:46 +0000 (09:33 +0100)]
Merge commit '5c0a09839c707f10e5dba59460e219e989c1da93'

* commit '5c0a09839c707f10e5dba59460e219e989c1da93':
  libopenjpegdec: return meaningful error codes

Conflicts:
libavcodec/libopenjpegdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 agoavcodec/mpeg12dec: forward errors when EXPLODE is set
Michael Niedermayer [Wed, 30 Oct 2013 01:06:32 +0000 (02:06 +0100)]
avcodec/mpeg12dec: forward errors when EXPLODE is set

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agolavf/spdifdec: fix demuxing of AAC in IEC 61937
Anssi Hannula [Tue, 29 Oct 2013 20:25:27 +0000 (22:25 +0200)]
lavf/spdifdec: fix demuxing of AAC in IEC 61937

Return value of avpriv_aac_parse_header() is not checked correctly. Fix
it.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 29 Oct 2013 21:24:19 +0000 (22:24 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  build: remove pointless condition

See: 94d707af3c8d2eb7dde7048929b056a451daabcb
Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge commit '58d13cea307e776664dae711608b358dd4b84fff'
Michael Niedermayer [Tue, 29 Oct 2013 21:17:38 +0000 (22:17 +0100)]
Merge commit '58d13cea307e776664dae711608b358dd4b84fff'

* commit '58d13cea307e776664dae711608b358dd4b84fff':
  h264: Check all allocations

See: a483aae7d8bcd37b50bb86345606bbcd2301110b
Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agotests/fate: fix fate on branches different from origin/master
Michael Niedermayer [Tue, 29 Oct 2013 20:53:59 +0000 (21:53 +0100)]
tests/fate: fix fate on branches different from origin/master

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agotests/fate.sh: run git reset only when fetch succeded
Michael Niedermayer [Tue, 29 Oct 2013 20:53:08 +0000 (21:53 +0100)]
tests/fate.sh: run git reset only when fetch succeded

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge commit '9510d7689e236f6a4748795604fba427c130d0ad'
Michael Niedermayer [Tue, 29 Oct 2013 20:45:18 +0000 (21:45 +0100)]
Merge commit '9510d7689e236f6a4748795604fba427c130d0ad'

* commit '9510d7689e236f6a4748795604fba427c130d0ad':
  fate.sh: Allow non-fast-forwards when updating sources

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge commit 'c872d310cd9c605e5f994ad8ac79dc72303c0d29'
Michael Niedermayer [Tue, 29 Oct 2013 20:38:53 +0000 (21:38 +0100)]
Merge commit 'c872d310cd9c605e5f994ad8ac79dc72303c0d29'

* commit 'c872d310cd9c605e5f994ad8ac79dc72303c0d29':
  avconv: stop accessing AVStream.parser

Conflicts:
ffmpeg.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavutil/opt: fix flags check on non x86
Michael Niedermayer [Tue, 29 Oct 2013 20:07:45 +0000 (21:07 +0100)]
avutil/opt: fix flags check on non x86

This should fix several fate failures

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge commit '8b64c2ba0382892cad9e1a5ba601696d4cbb4d04'
Michael Niedermayer [Tue, 29 Oct 2013 19:44:41 +0000 (20:44 +0100)]
Merge commit '8b64c2ba0382892cad9e1a5ba601696d4cbb4d04'

* commit '8b64c2ba0382892cad9e1a5ba601696d4cbb4d04':
  lavc: add a dummy field to AVStream to preserve ABI compatibility for avconv

Merged-by: Michael Niedermayer <michaelni@gmx.at>
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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge commit '25c7db7cc99d74fe6fb56a6fd52c9b5f1591e448'
Michael Niedermayer [Tue, 29 Oct 2013 19:06:27 +0000 (20:06 +0100)]
Merge commit '25c7db7cc99d74fe6fb56a6fd52c9b5f1591e448'

* commit '25c7db7cc99d74fe6fb56a6fd52c9b5f1591e448':
  avio: Check for memory allocation failure of private data

See: d206fd996bdaa501e341d9397cff8529b38a9ad9
Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge commit '327c439f811a89d774db9a86f72951d295193e5f'
Michael Niedermayer [Tue, 29 Oct 2013 18:59:10 +0000 (19:59 +0100)]
Merge commit '327c439f811a89d774db9a86f72951d295193e5f'

* commit '327c439f811a89d774db9a86f72951d295193e5f':
  timefilter: Handle memory allocation failure

Conflicts:
libavdevice/jack_audio.c
libavdevice/timefilter.c

See: 6ef30976e00a07ed7c6db54102d2ba50d24c876c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge commit 'e78913052263af80855590659fb0f705e8f13c8a'
Michael Niedermayer [Tue, 29 Oct 2013 18:48:08 +0000 (19:48 +0100)]
Merge commit 'e78913052263af80855590659fb0f705e8f13c8a'

* commit 'e78913052263af80855590659fb0f705e8f13c8a':
  configure: Provide an hardened toolchain option

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge commit 'dcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea'
Michael Niedermayer [Tue, 29 Oct 2013 18:43:06 +0000 (19:43 +0100)]
Merge commit 'dcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea'

* commit 'dcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea':
  configure: Move gcc-only -W option where it belongs

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavformat/avisynth: re-add trailing \n.
Clément Bœsch [Tue, 29 Oct 2013 18:42:00 +0000 (19:42 +0100)]
avformat/avisynth: re-add trailing \n.

Regression since ac9529ce.

Spotted by Timothy Gu.

5 years agolavc/mpegvideo_enc: fix typo
Stefano Sabatini [Tue, 29 Oct 2013 17:36:21 +0000 (18:36 +0100)]
lavc/mpegvideo_enc: fix typo

5 years agolavc: extend documentation for the "bf" option
Stefano Sabatini [Tue, 29 Oct 2013 10:33:51 +0000 (11:33 +0100)]
lavc: extend documentation for the "bf" option

5 years agodoc/muxers: add definitory line for the MOV/MP4/ISMV muxer
Stefano Sabatini [Tue, 29 Oct 2013 14:57:13 +0000 (15:57 +0100)]
doc/muxers: add definitory line for the MOV/MP4/ISMV muxer

Also rename section name, to match the other ones adopting the muxer name
(rather than the related upcased standard name).

5 years agoavcodec/mpegvideo_enc: check that max_b_frames is not negative
Michael Niedermayer [Tue, 29 Oct 2013 15:12:01 +0000 (16:12 +0100)]
avcodec/mpegvideo_enc: check that max_b_frames is not negative

Fixes crash found by saste
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agomatroskaenc: fixed display width / height calculation for stereo mode
Michael Niedermayer [Tue, 29 Oct 2013 09:30:08 +0000 (13:30 +0400)]
matroskaenc: fixed display width / height calculation for stereo mode

Based-on: patch by Asan Usipov <asan.usipov@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 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 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 agotimefilter: Fix typo in allocation failure message
Derek Buitenhuis [Tue, 29 Oct 2013 11:38:35 +0000 (11:38 +0000)]
timefilter: Fix typo in allocation failure message

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
5 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 29 Oct 2013 10:50:56 +0000 (11:50 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavfi: do not export the filters from shared objects

Conflicts:
libavfilter/af_amix.c
libavfilter/af_anull.c
libavfilter/asrc_anullsrc.c
libavfilter/f_select.c
libavfilter/f_settb.c
libavfilter/split.c
libavfilter/src_movie.c
libavfilter/vf_aspect.c
libavfilter/vf_blackframe.c
libavfilter/vf_colorbalance.c
libavfilter/vf_copy.c
libavfilter/vf_crop.c
libavfilter/vf_cropdetect.c
libavfilter/vf_drawbox.c
libavfilter/vf_format.c
libavfilter/vf_framestep.c
libavfilter/vf_frei0r.c
libavfilter/vf_hflip.c
libavfilter/vf_libopencv.c
libavfilter/vf_lut.c
libavfilter/vf_null.c
libavfilter/vf_overlay.c
libavfilter/vf_scale.c
libavfilter/vf_transpose.c
libavfilter/vf_unsharp.c
libavfilter/vf_vflip.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 agoMerge commit 'feeafb4adabd5c17de1738ed9962e40892b20edb'
Michael Niedermayer [Tue, 29 Oct 2013 10:06:24 +0000 (11:06 +0100)]
Merge commit 'feeafb4adabd5c17de1738ed9962e40892b20edb'

* commit 'feeafb4adabd5c17de1738ed9962e40892b20edb':
  lavf: do not export av_register_{rtp,rdt}_dynamic_payload_handlers from shared objects

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/audioconvert: deprecate API
Michael Niedermayer [Tue, 29 Oct 2013 09:47:32 +0000 (10:47 +0100)]
avcodec/audioconvert: deprecate API

Note, the header was not installed so useage of this should be limited
but its not 0, there are some random pieces of code using it according
to google.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/cook: use av_freep()
Paul B Mahol [Tue, 29 Oct 2013 09:32:19 +0000 (09:32 +0000)]
avcodec/cook: use av_freep()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoMerge commit 'c9a13a289d0e1607387854127476813a1ee3d34b'
Michael Niedermayer [Tue, 29 Oct 2013 09:21:23 +0000 (10:21 +0100)]
Merge commit 'c9a13a289d0e1607387854127476813a1ee3d34b'

* commit 'c9a13a289d0e1607387854127476813a1ee3d34b':
  lavc: remove old unused audio conversion functions.

Conflicts:
libavcodec/audioconvert.c
libavcodec/audioconvert.h

Merge only for metadata.
keeping the old API longer reduces the need for applications to be continuously
updated.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavformat/gxf: fix old codec id
Michael Niedermayer [Mon, 28 Oct 2013 22:45:26 +0000 (23:45 +0100)]
avformat/gxf: fix old codec id

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec: fix old codec ids
Michael Niedermayer [Mon, 28 Oct 2013 22:45:26 +0000 (23:45 +0100)]
avcodec: fix old codec ids

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/dvdec: dont try to decode ac when theres no input
Michael Niedermayer [Mon, 28 Oct 2013 21:55:53 +0000 (22:55 +0100)]
avcodec/dvdec: dont try to decode ac when theres no input

fixes reading out of an empty bitstream

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavisynth: Factor out a couple of returns
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:53 +0000 (16:52 -0400)]
avisynth: Factor out a couple of returns

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavisynth: Simplify a stray av_log message
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:52 +0000 (16:52 -0400)]
avisynth: Simplify a stray av_log message

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavisynth: Switch a couple of AVERROR_UNKNOWNs to AVERROR(ENOMEM)
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:51 +0000 (16:52 -0400)]
avisynth: Switch a couple of AVERROR_UNKNOWNs to AVERROR(ENOMEM)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavisynth: Use AV_* prefixes for video and audio IDs
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:50 +0000 (16:52 -0400)]
avisynth: Use AV_* prefixes for video and audio IDs

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavisynth: Remove outdated undef block
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:49 +0000 (16:52 -0400)]
avisynth: Remove outdated undef block

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavisynth: Remove a couple of useless AviSynthContext casts
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:48 +0000 (16:52 -0400)]
avisynth: Remove a couple of useless AviSynthContext casts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavisynth: Don't declare structs anonymously
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:47 +0000 (16:52 -0400)]
avisynth: Don't declare structs anonymously

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavisynth: Compact AvxSynth's avoidance of 2.6's colorspaces.
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:46 +0000 (16:52 -0400)]
avisynth: Compact AvxSynth's avoidance of 2.6's colorspaces.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavisynth: Cosmetics
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:45 +0000 (16:52 -0400)]
avisynth: Cosmetics

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavisynth: Change most of the comments to /* */ from //
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:44 +0000 (16:52 -0400)]
avisynth: Change most of the comments to /* */ from //

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavisynth: Introduce USING_AVISYNTH macro
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:43 +0000 (16:52 -0400)]
avisynth: Introduce USING_AVISYNTH macro

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agompegts: demux synchronous SMPTE 336M Key-Length-Value (KLV) metadata
Peter Ross [Tue, 5 Feb 2013 11:01:11 +0000 (22:01 +1100)]
mpegts: demux synchronous SMPTE 336M Key-Length-Value (KLV) metadata

Fixes ticket #2579.

5 years agoavutil/opt: check flags validity in write_number()
Michael Niedermayer [Mon, 28 Oct 2013 16:39:07 +0000 (17:39 +0100)]
avutil/opt: check flags validity in write_number()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/h263dec: fix handling of AV_EF_EXPLODE
Michael Niedermayer [Mon, 28 Oct 2013 16:05:59 +0000 (17:05 +0100)]
avcodec/h263dec: fix handling of AV_EF_EXPLODE

This fixes checking a variable that had been overwritten before.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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