]> git.sesse.net Git - ffmpeg/log
ffmpeg
10 years agoMerge commit '9af7a8523a6bb517834ebed36093bdab11a8b38e'
Michael Niedermayer [Fri, 1 Nov 2013 09:39:50 +0000 (10:39 +0100)]
Merge commit '9af7a8523a6bb517834ebed36093bdab11a8b38e'

* commit '9af7a8523a6bb517834ebed36093bdab11a8b38e':
  HNM4/HNM4A demuxer & video decoder

Conflicts:
Changelog
doc/general.texi
libavcodec/Makefile
libavcodec/allcodecs.c
libavcodec/avcodec.h
libavcodec/version.h
libavformat/Makefile
libavformat/allformats.c
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'ed1a11ed52bbd1f15bb9b0416d69b7924bee3191'
Michael Niedermayer [Fri, 1 Nov 2013 09:26:49 +0000 (10:26 +0100)]
Merge commit 'ed1a11ed52bbd1f15bb9b0416d69b7924bee3191'

* commit 'ed1a11ed52bbd1f15bb9b0416d69b7924bee3191':
  gradfun: x86: Factor out common code for some gradfun_filter_line() variants

Conflicts:
libavfilter/x86/vf_gradfun_init.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'ee80cf741a44115758e62399b7bde08d33161151'
Michael Niedermayer [Fri, 1 Nov 2013 09:20:20 +0000 (10:20 +0100)]
Merge commit 'ee80cf741a44115758e62399b7bde08d33161151'

* commit 'ee80cf741a44115758e62399b7bde08d33161151':
  avfilter: x86: K&R formatting cosmetics

Conflicts:
libavfilter/x86/vf_gradfun_init.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/wmv2enc: Collect statistics for 2 pass encoding
Michael Niedermayer [Thu, 31 Oct 2013 23:40:33 +0000 (00:40 +0100)]
avcodec/wmv2enc: Collect statistics for 2 pass encoding

Fixes Ticket3053

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMAINTAINERS: add myself as libzvbi-teletextdec maintainer
Marton Balint [Thu, 31 Oct 2013 20:28:47 +0000 (21:28 +0100)]
MAINTAINERS: add myself as libzvbi-teletextdec maintainer

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoaacdec: fix small comment, update decoder features comment
Compn [Thu, 31 Oct 2013 19:57:16 +0000 (15:57 -0400)]
aacdec: fix small comment, update decoder features comment

10 years agoFix a crash on oom when decoding hevc.
Carl Eugen Hoyos [Thu, 31 Oct 2013 19:17:18 +0000 (20:17 +0100)]
Fix a crash on oom when decoding hevc.

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 agodoc/filters: add few more examples for blend filter
Paul B Mahol [Thu, 31 Oct 2013 13:31:11 +0000 (13:31 +0000)]
doc/filters: add few more examples for blend filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years agoMerge remote-tracking branch 'cehoyos/master'
Michael Niedermayer [Thu, 31 Oct 2013 13:27:47 +0000 (14:27 +0100)]
Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  libavfilter/decimate: Add pts of first frame to all frames.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 31 Oct 2013 12:08:06 +0000 (13:08 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  build: Ensure that strip commands are run silently

Conflicts:
Makefile

Not merged as it conflicts with strip being on the BRIEF list

Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 agolibavfilter/decimate: Add pts of first frame to all frames.
Carl Eugen Hoyos [Wed, 30 Oct 2013 23:33:51 +0000 (00:33 +0100)]
libavfilter/decimate: Add pts of first frame to all frames.

Fixes ticket #3019

Reviewed-by: Clément Bœsch
10 years agoavcodec/cabac: support UNCHECKED_BITSTREAM_READER = 0
Michael Niedermayer [Thu, 31 Oct 2013 09:54:46 +0000 (10:54 +0100)]
avcodec/cabac: support UNCHECKED_BITSTREAM_READER = 0

Fixes overreads in HEVC
Fixes Ticket3070
Also fixed remaining issues from Ticket3075 and Ticket3076

Some lines of code taken from  0c5f839693da2276c2da23400f67a67be4ea0af1:libavcodec/x86/cabac.h
and                            0c5f839693da2276c2da23400f67a67be4ea0af1:libavcodec/cabac_functions.h

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agohevc: add partial support for interlaced(cherry picked from commit 44b592ae6d323445c0...
Mickaël Raulet [Wed, 30 Oct 2013 11:28:19 +0000 (12:28 +0100)]
hevc: add partial support for interlaced(cherry picked from commit 44b592ae6d323445c076ef3ec966ebf9daa8bccf)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat/thp: force moving forward
Michael Niedermayer [Thu, 31 Oct 2013 01:26:07 +0000 (02:26 +0100)]
avformat/thp: force moving forward

Fixes infinite loop
Fixes Ticket3098

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat/thp: fix variable types to avoid overflows
Michael Niedermayer [Thu, 31 Oct 2013 01:19:40 +0000 (02:19 +0100)]
avformat/thp: fix variable types to avoid overflows

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat/http: fix cookies
Michael Niedermayer [Thu, 31 Oct 2013 00:42:13 +0000 (01:42 +0100)]
avformat/http: fix cookies

Fixes Ticket3096

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

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

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

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

10 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

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

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