]> git.sesse.net Git - ffmpeg/log
ffmpeg
7 years agoMerge commit '014852e932dab6e9cf2a53e7a17ce8321f3e922c'
Clément Bœsch [Sun, 19 Mar 2017 15:12:07 +0000 (16:12 +0100)]
Merge commit '014852e932dab6e9cf2a53e7a17ce8321f3e922c'

* commit '014852e932dab6e9cf2a53e7a17ce8321f3e922c':
  simple_idct: arm: Drop disabled code variant

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'e2b9993558b6adee42dcc6eb385a14943aaca974'
Clément Bœsch [Sun, 19 Mar 2017 15:11:11 +0000 (16:11 +0100)]
Merge commit 'e2b9993558b6adee42dcc6eb385a14943aaca974'

* commit 'e2b9993558b6adee42dcc6eb385a14943aaca974':
  simple_idct: x86: Drop disabled IDCT implementation

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '7effebde78977fafce935776153ea2f7c0981fa3'
Clément Bœsch [Sun, 19 Mar 2017 15:10:17 +0000 (16:10 +0100)]
Merge commit '7effebde78977fafce935776153ea2f7c0981fa3'

* commit '7effebde78977fafce935776153ea2f7c0981fa3':
  dvbsubdec: Remove disabled, near-duplicate debug code

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '93fed46a92bab8be176d3e67be4354189a8dbe7f'
Clément Bœsch [Sun, 19 Mar 2017 15:08:27 +0000 (16:08 +0100)]
Merge commit '93fed46a92bab8be176d3e67be4354189a8dbe7f'

* commit '93fed46a92bab8be176d3e67be4354189a8dbe7f':
  timefilter: test: Drop some disabled debug cruft

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '0e285c2f908789e96e29bfd969ad5eaaa0eece65'
Clément Bœsch [Sun, 19 Mar 2017 15:07:30 +0000 (16:07 +0100)]
Merge commit '0e285c2f908789e96e29bfd969ad5eaaa0eece65'

* commit '0e285c2f908789e96e29bfd969ad5eaaa0eece65':
  mpegvideo: Kill some disabled code

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'f2f145f3032bc8808708a4bd694fbce5f1b8b63c'
Clément Bœsch [Sun, 19 Mar 2017 15:06:49 +0000 (16:06 +0100)]
Merge commit 'f2f145f3032bc8808708a4bd694fbce5f1b8b63c'

* commit 'f2f145f3032bc8808708a4bd694fbce5f1b8b63c':
  msmpeg4: Drop disabled debug cruft

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'be1db21ba88fe86036fea9f8d2c1a5f47c2a0a7e'
Clément Bœsch [Sun, 19 Mar 2017 15:05:13 +0000 (16:05 +0100)]
Merge commit 'be1db21ba88fe86036fea9f8d2c1a5f47c2a0a7e'

* commit 'be1db21ba88fe86036fea9f8d2c1a5f47c2a0a7e':
  mathops: Drop disabled alternative mid_pred() implementation

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'be3363f664d7314d55b42860bd4077154752d769'
Clément Bœsch [Sun, 19 Mar 2017 15:04:46 +0000 (16:04 +0100)]
Merge commit 'be3363f664d7314d55b42860bd4077154752d769'

* commit 'be3363f664d7314d55b42860bd4077154752d769':
  nsv: Drop disabled cruft

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'b53d8c3ccfeff77874f5ca7c68136b6d87a0a69c'
Clément Bœsch [Sun, 19 Mar 2017 15:03:25 +0000 (16:03 +0100)]
Merge commit 'b53d8c3ccfeff77874f5ca7c68136b6d87a0a69c'

* commit 'b53d8c3ccfeff77874f5ca7c68136b6d87a0a69c':
  mjpegdec: Drop disabled code

The last chunk is replaced with a comment describing the structure.

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '34c22a9ca656603428b2c3490d1339c5a5966961'
Clément Bœsch [Sun, 19 Mar 2017 15:00:21 +0000 (16:00 +0100)]
Merge commit '34c22a9ca656603428b2c3490d1339c5a5966961'

* commit '34c22a9ca656603428b2c3490d1339c5a5966961':
  faan(i)dct: Kill some disabled code

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'a4b1b5aa281cacde8351d9947b54ccf82ff10cd0'
Clément Bœsch [Sun, 19 Mar 2017 14:59:49 +0000 (15:59 +0100)]
Merge commit 'a4b1b5aa281cacde8351d9947b54ccf82ff10cd0'

* commit 'a4b1b5aa281cacde8351d9947b54ccf82ff10cd0':
  wc3movie: Drop unused cruft

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '17cb56b35672a2cd6ad7abe926e6cc772b8f4710'
Clément Bœsch [Sun, 19 Mar 2017 14:58:43 +0000 (15:58 +0100)]
Merge commit '17cb56b35672a2cd6ad7abe926e6cc772b8f4710'

* commit '17cb56b35672a2cd6ad7abe926e6cc772b8f4710':
  ffv1: Remove broken disabled cruft

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'b96f0ab3d29cdd9ea9ddabfb2052f72bf8615661'
Clément Bœsch [Sun, 19 Mar 2017 14:56:19 +0000 (15:56 +0100)]
Merge commit 'b96f0ab3d29cdd9ea9ddabfb2052f72bf8615661'

* commit 'b96f0ab3d29cdd9ea9ddabfb2052f72bf8615661':
  h264: Kill broken disabled cruft

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '42c4c2d2a6dc48adb0e901ef5617acfba0a3a18e'
Clément Bœsch [Sun, 19 Mar 2017 14:54:44 +0000 (15:54 +0100)]
Merge commit '42c4c2d2a6dc48adb0e901ef5617acfba0a3a18e'

* commit '42c4c2d2a6dc48adb0e901ef5617acfba0a3a18e':
  aac: Drop broken cruft

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '263efc095e6c7ec2902119118b084cea29ea8916'
Clément Bœsch [Sun, 19 Mar 2017 14:50:17 +0000 (15:50 +0100)]
Merge commit '263efc095e6c7ec2902119118b084cea29ea8916'

* commit '263efc095e6c7ec2902119118b084cea29ea8916':
  jfdct: Kill broken cruft

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'd9442d13033a24b14ebae149dcdb42709430e2d9'
Clément Bœsch [Sun, 19 Mar 2017 14:49:47 +0000 (15:49 +0100)]
Merge commit 'd9442d13033a24b14ebae149dcdb42709430e2d9'

* commit 'd9442d13033a24b14ebae149dcdb42709430e2d9':
  rm: Drop broken disabled cruft

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'dab2034b8679aaacd8aef832cdeb71d0ee8a3358'
Clément Bœsch [Sun, 19 Mar 2017 14:49:15 +0000 (15:49 +0100)]
Merge commit 'dab2034b8679aaacd8aef832cdeb71d0ee8a3358'

* commit 'dab2034b8679aaacd8aef832cdeb71d0ee8a3358':
  roqvideoenc: Drop broken disabled cruft

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '562bec0e690760fb93deb2843a7237713103a191'
Clément Bœsch [Sun, 19 Mar 2017 14:48:50 +0000 (15:48 +0100)]
Merge commit '562bec0e690760fb93deb2843a7237713103a191'

* commit '562bec0e690760fb93deb2843a7237713103a191':
  pnm_parser: Drop broken disabled cruft

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'a972fc1c0ab6e7f169f9145d6da46e8cedbc291c'
Clément Bœsch [Sun, 19 Mar 2017 14:42:31 +0000 (15:42 +0100)]
Merge commit 'a972fc1c0ab6e7f169f9145d6da46e8cedbc291c'

* commit 'a972fc1c0ab6e7f169f9145d6da46e8cedbc291c':
  wma: Kill non-compiling disabled cruft

See 0755033f8af774cea34566adec455fbafd9f66bc

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'aa37d2bf4505afc106e2a23c44afc722bb204a8e'
Clément Bœsch [Sun, 19 Mar 2017 14:37:07 +0000 (15:37 +0100)]
Merge commit 'aa37d2bf4505afc106e2a23c44afc722bb204a8e'

* commit 'aa37d2bf4505afc106e2a23c44afc722bb204a8e':
  swscale: Kill non-compiling disabled cruft

The isGray() chunk is not merged as an alternative patch actually fixing
the dead code is currently under review on the mailing-list.

The SWS_X chunk is merged, with an additional cosmetic.

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'd5fda00efa756387cffb4d7294691cd54cfe86cf'
Clément Bœsch [Sun, 19 Mar 2017 12:48:07 +0000 (13:48 +0100)]
Merge commit 'd5fda00efa756387cffb4d7294691cd54cfe86cf'

* commit 'd5fda00efa756387cffb4d7294691cd54cfe86cf':
  mpeg4videoenc: Kill non-compiling disabled cruft

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'e4d5b55193109d08be47c42d320334546c006b51'
Clément Bœsch [Sun, 19 Mar 2017 12:44:04 +0000 (13:44 +0100)]
Merge commit 'e4d5b55193109d08be47c42d320334546c006b51'

* commit 'e4d5b55193109d08be47c42d320334546c006b51':
  rangecoder: Kill non-compiling disabled cruft

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoswresample/x86/resample: extend resample_double to support avx and fma3
Muhammad Faiz [Thu, 16 Mar 2017 04:33:16 +0000 (11:33 +0700)]
swresample/x86/resample: extend resample_double to support avx and fma3

benchmark:
sse2 10.670s
avx   8.763s
fma3  8.380s

Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
7 years agoMerge commit '00a0419c7f7ebce9010cba93b7ff67c9f1165815'
Clément Bœsch [Sat, 18 Mar 2017 22:51:51 +0000 (23:51 +0100)]
Merge commit '00a0419c7f7ebce9010cba93b7ff67c9f1165815'

* commit '00a0419c7f7ebce9010cba93b7ff67c9f1165815':
  mathematics: Kill non-compiling disabled cruft

This commit is a noop, see 1e1513d01aa8296d55efab95143e65ccbb152c5f

Merged-by: Clément Bœsch <u@pkh.me>
7 years agolavu/mathematics: split closing bracket out of ifdefery
Clément Bœsch [Sat, 18 Mar 2017 22:49:20 +0000 (23:49 +0100)]
lavu/mathematics: split closing bracket out of ifdefery

7 years agolavu/mathematics: document so-called "cruft"
Clément Bœsch [Sat, 18 Mar 2017 22:48:22 +0000 (23:48 +0100)]
lavu/mathematics: document so-called "cruft"

7 years agoMerge commit '5a667322f5cb0e77c15891fc06725c19d8f3314f'
Clément Bœsch [Sat, 18 Mar 2017 19:07:39 +0000 (20:07 +0100)]
Merge commit '5a667322f5cb0e77c15891fc06725c19d8f3314f'

* commit '5a667322f5cb0e77c15891fc06725c19d8f3314f':
  vaapi_vc1: Remove redundant version check

This commit is a noop, see d07d01bcce4dd145d04bd936b5d2d268ed688e3f

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '01d6f84f49a55fd591aa120960fce2b9dba92d0d'
Clément Bœsch [Sat, 18 Mar 2017 19:07:01 +0000 (20:07 +0100)]
Merge commit '01d6f84f49a55fd591aa120960fce2b9dba92d0d'

* commit '01d6f84f49a55fd591aa120960fce2b9dba92d0d':
  vaapi_vc1: Constify pointers

This commit is a noop, see 845c2c140b5ec9774dba5d92459b581eba79a788

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'ee9061293e925916fe2e0b7c08fbbd1f981b1d29'
Clément Bœsch [Sat, 18 Mar 2017 19:05:36 +0000 (20:05 +0100)]
Merge commit 'ee9061293e925916fe2e0b7c08fbbd1f981b1d29'

* commit 'ee9061293e925916fe2e0b7c08fbbd1f981b1d29':
  vaapi_mpeg2: Constify pointers

This commit is a noop, see 6bc2808c41a3f1c7fb7655fc4835d74fdcf87464

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '03adfe913062c6995136eb1ca51152b6d596c0f4'
Clément Bœsch [Sat, 18 Mar 2017 19:03:10 +0000 (20:03 +0100)]
Merge commit '03adfe913062c6995136eb1ca51152b6d596c0f4'

* commit '03adfe913062c6995136eb1ca51152b6d596c0f4':
  vaapi_h264: Constify pointers

This commit is a noop, see d0897da924509736849408cbbbc20ba42ea092bd

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '121f34d5f0c8d7d376829a467590fbbe4c228f4f'
Clément Bœsch [Sat, 18 Mar 2017 19:02:10 +0000 (20:02 +0100)]
Merge commit '121f34d5f0c8d7d376829a467590fbbe4c228f4f'

* commit '121f34d5f0c8d7d376829a467590fbbe4c228f4f':
  hwcontext_vaapi: Try the first render node as the default DRM device

This commit is a noop, see 8d47d8407569aade0c0d564600919349789dc38b

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '6fc944e6136b050bf965f847bbfd69e1fe572f82'
Clément Bœsch [Sat, 18 Mar 2017 19:01:22 +0000 (20:01 +0100)]
Merge commit '6fc944e6136b050bf965f847bbfd69e1fe572f82'

* commit '6fc944e6136b050bf965f847bbfd69e1fe572f82':
  Prepare for 12_alpha1 Release

This commit is a noop.

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'f6d2fed811dea36c4ebaf991927e44c78eb0aca5'
Clément Bœsch [Sat, 18 Mar 2017 18:59:48 +0000 (19:59 +0100)]
Merge commit 'f6d2fed811dea36c4ebaf991927e44c78eb0aca5'

* commit 'f6d2fed811dea36c4ebaf991927e44c78eb0aca5':
  avconv: Make sure that inputless filtergraphs are configured

This commit is a noop. Related code is pretty different in ffmpeg, and
-filter_complex testsrc works.

See also af1761f7b5b1b72197dc40934953b775c2d951cc

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '602abe77b02f9702c18c2787d208fcfc9d94b70f'
Clément Bœsch [Sat, 18 Mar 2017 18:45:11 +0000 (19:45 +0100)]
Merge commit '602abe77b02f9702c18c2787d208fcfc9d94b70f'

* commit '602abe77b02f9702c18c2787d208fcfc9d94b70f':
  avconv: Check the fifo allocation

This commit is a noop, see af1761f7b5b1b72197dc40934953b775c2d951cc

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'f2143c57b6a61fef382f3128138d8558a9bdecee'
Clément Bœsch [Sat, 18 Mar 2017 18:38:52 +0000 (19:38 +0100)]
Merge commit 'f2143c57b6a61fef382f3128138d8558a9bdecee'

* commit 'f2143c57b6a61fef382f3128138d8558a9bdecee':
  vp9: reindent after last commit
  vp9: add frame threading
  vp9: allocate 'b', 'block/uvblock' and 'eob/uveob' dynamically.
  vp9: split last/cur_frame from the reference buffers.

This commit is a noop, we already have all these changes. Again, we will
need in the future to analyse the tiny differences between the two
repository on the vp9 files. But in the current state, it's a real pain
to do at every commit due to the huge differences (such as files split
and cosmetics).

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '04763c6f87690b31cfcd0d324cf36a451531dcd0'
Clément Bœsch [Sat, 18 Mar 2017 18:31:57 +0000 (19:31 +0100)]
Merge commit '04763c6f87690b31cfcd0d324cf36a451531dcd0'

* commit '04763c6f87690b31cfcd0d324cf36a451531dcd0':
  h264_direct: use the reference mask from the actual reference

This commit is a noop, see d8151a7e944aea52d167571badc247c8d9972847

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'e9bfff1cc66c85b91b262c41e8aa5e8685606225'
Clément Bœsch [Sat, 18 Mar 2017 18:25:56 +0000 (19:25 +0100)]
Merge commit 'e9bfff1cc66c85b91b262c41e8aa5e8685606225'

* commit 'e9bfff1cc66c85b91b262c41e8aa5e8685606225':
  lavc: free buffer_frame/pkt on avcodec_open2() failure

This commit is a noop, see 27adf9f9cdbc6f1dc0a1292dc97490eec6f2f068.

Only reordered to reduce diff.

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'ec021d48445a414325ad59a73f9cde3212b173e4'
Clément Bœsch [Sat, 18 Mar 2017 18:22:30 +0000 (19:22 +0100)]
Merge commit 'ec021d48445a414325ad59a73f9cde3212b173e4'

* commit 'ec021d48445a414325ad59a73f9cde3212b173e4':
  buffer: fix av_buffer_pool_init2() documentation

Merged-by: Clément Bœsch <u@pkh.me>
7 years agocompat/atomics/gcc: use __typeof__ instead of typeof
James Almer [Tue, 7 Mar 2017 03:04:46 +0000 (00:04 -0300)]
compat/atomics/gcc: use __typeof__ instead of typeof

The typeof keyword is apparently not available when using the -std=c99 option.

Fixes the use of C11 atomic functions with old GCC.

Reviewed-by: Muhammad Faiz <mfcc64@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
7 years agolavfi: deprecate AVFilterGraph->resample_lavr_opts
Rostislav Pehlivanov [Mon, 6 Mar 2017 02:46:50 +0000 (02:46 +0000)]
lavfi: deprecate AVFilterGraph->resample_lavr_opts

Not used by anything at all since we don't auto insert lavr filters.

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
7 years agoswresample/swresample: do not use s32p internally by default when resampling
Muhammad Faiz [Thu, 16 Mar 2017 05:35:11 +0000 (12:35 +0700)]
swresample/swresample: do not use s32p internally by default when resampling

use fltp when doing s32 -> s32 resampling
because s32p has no simd optimization

benchmark:
old 17.913s
new  7.584s (use fma3)

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
7 years agolavc/avcodec: Constify AVBitStreamFilter* in AVBitStreamFilterContext struct.
Carl Eugen Hoyos [Thu, 16 Mar 2017 21:31:44 +0000 (22:31 +0100)]
lavc/avcodec: Constify AVBitStreamFilter* in AVBitStreamFilterContext struct.

Fixes a gcc warning:
libavcodec/bitstream_filter.c:71:20: warning: assignment discards 'const' qualifier from pointer target type

7 years agomov: Drop extra format specifier in error message
Vittorio Giovara [Fri, 17 Mar 2017 19:29:51 +0000 (15:29 -0400)]
mov: Drop extra format specifier in error message

7 years agospherical: Change types of bounding and pad to uint32_t
Vittorio Giovara [Thu, 16 Mar 2017 21:20:47 +0000 (17:20 -0400)]
spherical: Change types of bounding and pad to uint32_t

These values are defined to be 32bit in the specification,
so it makes more sense to store them as fixed width.

Based on a patch by Micahel Niedermayer <michael@niedermayer.cc>.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
7 years agofate: Do not report side data size
Vittorio Giovara [Wed, 8 Mar 2017 00:15:28 +0000 (19:15 -0500)]
fate: Do not report side data size

This field is of little value, and interferes with testing side data,
since sizes can be different on multiple architectures.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
7 years agoMerge commit '0638b99cdba52554691fc668d9e477bc184c7a33'
Matthieu Bouron [Fri, 17 Mar 2017 12:31:03 +0000 (13:31 +0100)]
Merge commit '0638b99cdba52554691fc668d9e477bc184c7a33'

* commit '0638b99cdba52554691fc668d9e477bc184c7a33':
aiff: Skip padding byte for odd-sized chunks

Also removes to odd-size checks from get_aiff_header and get_meta to use
the generic path introduced by the original commit.

Merged-by: Matthieu Bouron <matthieu.bouron@gmail.com>
7 years agoavcodec: estimate output bitrate for uncompressed video codecs
Tobias Rapp [Mon, 6 Mar 2017 07:53:28 +0000 (08:53 +0100)]
avcodec: estimate output bitrate for uncompressed video codecs

Allows to get a more realistic total bitrate (and estimated file size)
in avi_write_header. Previously a static default value of 200k was
assumed.

Adds an internal helper function for bitrate guessing.

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
7 years agoffmpeg: set the encoding framerate when the output is CFR
Anton Khirnov [Sat, 1 Oct 2016 09:47:23 +0000 (11:47 +0200)]
ffmpeg: set the encoding framerate when the output is CFR

(cherry picked from Libav commit d10102d23c9467d4eb84f58e0cd12be284b982f6)

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
7 years agoavcodec/nvenc: allow different const-qps for I, P and B frames
Konda Raju [Fri, 17 Mar 2017 04:12:25 +0000 (09:42 +0530)]
avcodec/nvenc: allow different const-qps for I, P and B frames

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
7 years agoswresample/resample: do not assert compensation_distance on rebuild_filter
Muhammad Faiz [Fri, 17 Mar 2017 00:46:20 +0000 (07:46 +0700)]
swresample/resample: do not assert compensation_distance on rebuild_filter

when set_compensation is called with zero sample_delta,
compensation does not happen (because dst_incr == ideal_dst_incr)
but compensation_distance is set

regression since 01ebb57c03abde89bca7bdbc552917efcb8f551d

Found-by: wm4 <nfxjfg@googlemail.com>
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
7 years agoavcodec: fix uninitialized variable read
wm4 [Tue, 7 Mar 2017 08:56:42 +0000 (09:56 +0100)]
avcodec: fix uninitialized variable read

This cna happen if the user tries to call the new decode API for
subtitles.

Fixes CID 1402071.

7 years agolavu/spherical: Make AVSphericalMapping pointer parameter const.
Carl Eugen Hoyos [Thu, 16 Mar 2017 20:19:48 +0000 (21:19 +0100)]
lavu/spherical: Make AVSphericalMapping pointer parameter const.

Reflects the actual code and silences a gcc warning:
ffprobe.c:1797:42: warning: passing argument 1 of 'av_spherical_tile_bounds' discards 'const' qualifier from pointer target type

7 years agoMerge commit '0df4801105d84883071b0978cb3afc7cd5184ce8'
Clément Bœsch [Thu, 16 Mar 2017 20:44:15 +0000 (21:44 +0100)]
Merge commit '0df4801105d84883071b0978cb3afc7cd5184ce8'

* commit '0df4801105d84883071b0978cb3afc7cd5184ce8':
  vp9: make mv bounds 32bit.

This commit is a noop, see 024fac5cd4f74d237b7b285355d7e463c1911196

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '24a362569bff1d4161742fffaca80a4a4428be8a'
Clément Bœsch [Thu, 16 Mar 2017 20:42:45 +0000 (21:42 +0100)]
Merge commit '24a362569bff1d4161742fffaca80a4a4428be8a'

* commit '24a362569bff1d4161742fffaca80a4a4428be8a':
  buffer: fix av_buffer_realloc() when the data is offset wrt buffer start

Merged-by: Clément Bœsch <u@pkh.me>
7 years agolavc/internal: Constify AVPacket* in AVCodecInternal.
Carl Eugen Hoyos [Sun, 26 Feb 2017 11:34:41 +0000 (12:34 +0100)]
lavc/internal: Constify AVPacket* in AVCodecInternal.

Fixes a gcc warning:
libavcodec/utils.c:2244:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

7 years agolavc/avpacket: Make pkt parameter of av_packet_get_side_data() const.
Carl Eugen Hoyos [Sun, 26 Feb 2017 10:58:49 +0000 (11:58 +0100)]
lavc/avpacket: Make pkt parameter of av_packet_get_side_data() const.

Reflects the actual code and silences a gcc warning:
libavcodec/utils.c:2102:36: warning: passing argument 1 of 'av_packet_get_side_data' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

7 years agodoc/muxers: cleanup mpegts section
Lou Logan [Thu, 16 Mar 2017 03:51:01 +0000 (19:51 -0800)]
doc/muxers: cleanup mpegts section

Add missing options.
List correct variable types.
Re-order options and markup flag options properly.
Add more texinfo markup.

Signed-off-by: Lou Logan <lou@lrcd.com>
7 years agoconfigure: clang -Oz for small size build to reduce size further
wang-bin [Fri, 10 Mar 2017 04:02:13 +0000 (04:02 +0000)]
configure: clang -Oz for small size build to reduce size further

7 years agolavf/mpegtsenc: clarify pcr_period unit of measurement
Lou Logan [Thu, 16 Mar 2017 02:45:12 +0000 (18:45 -0800)]
lavf/mpegtsenc: clarify pcr_period unit of measurement

pcr_period is in milliseconds.

Signed-off-by: Lou Logan <lou@lrcd.com>
7 years agoMerge commit 'e99ecda55082cb9dde8fd349361e169dc383943a'
Clément Bœsch [Thu, 16 Mar 2017 19:16:48 +0000 (20:16 +0100)]
Merge commit 'e99ecda55082cb9dde8fd349361e169dc383943a'

* commit 'e99ecda55082cb9dde8fd349361e169dc383943a':
  checkasm: add vp9 MC tests.
  vp9mc/x86: sse2 MC assembly.
  vp9mc/x86: add AVX and AVX2 MC
  vp9mc/x86: rename ff_* to ff_vp9_*
  vp9mc/x86: rename ff_avg[48]_sse to ff_avg[48]_mmxext
  vp9mc/x86: simplify a few inits.
  vp9mc/x86: add 16px functions (64bit only).

Noop (aside from a formatting comment in vp9mc.asm). We already have all
of this. We should consider making a final diff between the two projects
when the dust comes down.

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '89466de4aeaf5e359489b81b8a9920a2bc7936d6'
Clément Bœsch [Thu, 16 Mar 2017 19:10:24 +0000 (20:10 +0100)]
Merge commit '89466de4aeaf5e359489b81b8a9920a2bc7936d6'

* commit '89466de4aeaf5e359489b81b8a9920a2bc7936d6':
  vp9/x86: rename vp9dsp to vp9mc

File was already renamed, only the top description is updated.

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoswresample/options: enable linear_interp and exact_rational by default
Muhammad Faiz [Mon, 13 Mar 2017 13:33:03 +0000 (20:33 +0700)]
swresample/options: enable linear_interp and exact_rational by default

better quality without speedloss

Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
7 years agoavcodec/h264_cabac: Fix runtime error: negation of -2147483648 cannot be represented...
Michael Niedermayer [Wed, 15 Mar 2017 02:48:59 +0000 (03:48 +0100)]
avcodec/h264_cabac: Fix runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself

Fixes: 858/clusterfuzz-testcase-5168477042114560
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years agoavcodec/h264idct_template: fix multiple runtime error: signed integer overflow
Michael Niedermayer [Wed, 15 Mar 2017 01:58:16 +0000 (02:58 +0100)]
avcodec/h264idct_template: fix multiple runtime error: signed integer overflow

Fixes: 857/clusterfuzz-testcase-5319093760557056
Benchmark changes from 335->333 (so if its not a random fluctuation then it would be faster)

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years agofate: Add vf_framerate test.
Alexis Ballier [Sat, 11 Mar 2017 19:18:55 +0000 (20:18 +0100)]
fate: Add vf_framerate test.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years agolavf/vf_framerate: Fix frame leak when increasing framerate.
Alexis Ballier [Sat, 11 Mar 2017 19:18:54 +0000 (20:18 +0100)]
lavf/vf_framerate: Fix frame leak when increasing framerate.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years agolavc/tests/dct/aarch64: add ff_simple_idct_neon test
Matthieu Bouron [Thu, 16 Feb 2017 12:34:53 +0000 (12:34 +0000)]
lavc/tests/dct/aarch64: add ff_simple_idct_neon test

7 years agolavc/aarch64: add ff_simple_idct{,_add,_put}_neon functions
Matthieu Bouron [Fri, 27 Jan 2017 11:55:48 +0000 (11:55 +0000)]
lavc/aarch64: add ff_simple_idct{,_add,_put}_neon functions

7 years agoffmpeg: don't use resample_lavr_opts
Rostislav Pehlivanov [Mon, 6 Mar 2017 02:46:49 +0000 (02:46 +0000)]
ffmpeg: don't use resample_lavr_opts

That pointer isn't used by absolutely anything.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
7 years agoMerge commit '89aebc5bcc6e23a0a79c3f51c3a55c3571692ba0'
James Almer [Thu, 16 Mar 2017 01:16:53 +0000 (22:16 -0300)]
Merge commit '89aebc5bcc6e23a0a79c3f51c3a55c3571692ba0'

* commit '89aebc5bcc6e23a0a79c3f51c3a55c3571692ba0':
  lavc: align the linesize to 32 when AVX is enabled

Merged-by: James Almer <jamrial@gmail.com>
7 years agoMerge commit '63ac8e2d93080b74f6be32c7c3c1a1e44aacf34e'
James Almer [Thu, 16 Mar 2017 01:13:41 +0000 (22:13 -0300)]
Merge commit '63ac8e2d93080b74f6be32c7c3c1a1e44aacf34e'

* commit '63ac8e2d93080b74f6be32c7c3c1a1e44aacf34e':
  lavu: add LOCAL_ALIGNED_32

This commit is a noop, see 25d5ea6d5a08820a40dd145d40ddfaecdb44837b

Merged-by: James Almer <jamrial@gmail.com>
7 years agoMerge commit '3c504bc3599f00bfc5923adc114beef34bce11d0'
James Almer [Thu, 16 Mar 2017 01:07:28 +0000 (22:07 -0300)]
Merge commit '3c504bc3599f00bfc5923adc114beef34bce11d0'

* commit '3c504bc3599f00bfc5923adc114beef34bce11d0':
  x86: deduplicate some constants

Merged-by: James Almer <jamrial@gmail.com>
7 years agoMerge commit 'd3e4d406b020b0464486318aceda08bd8f69ca41'
James Almer [Thu, 16 Mar 2017 00:41:29 +0000 (21:41 -0300)]
Merge commit 'd3e4d406b020b0464486318aceda08bd8f69ca41'

* commit 'd3e4d406b020b0464486318aceda08bd8f69ca41':
  h264dec: reset nb_slice_ctx_queued for hwaccel decoding

This commit is a noop, see 744801989099df26e90b00062c645969c5347533

Merged-by: James Almer <jamrial@gmail.com>
7 years agoMerge commit 'e5b019725f53b79159931d3a7317107cbbfd0860'
James Almer [Thu, 16 Mar 2017 00:40:35 +0000 (21:40 -0300)]
Merge commit 'e5b019725f53b79159931d3a7317107cbbfd0860'

* commit 'e5b019725f53b79159931d3a7317107cbbfd0860':
  m4vdec: Check for non-startcode 00 00 00 sequences in probe

This commit is a noop, see 7c1835c52a4be2e4e996f83c91a8d5a147b01100

Merged-by: James Almer <jamrial@gmail.com>
7 years agoMerge commit '3ccec334b8502701e72ef13bed25913c3578022e'
James Almer [Thu, 16 Mar 2017 00:37:40 +0000 (21:37 -0300)]
Merge commit '3ccec334b8502701e72ef13bed25913c3578022e'

* commit '3ccec334b8502701e72ef13bed25913c3578022e':
  sbrdsp: Move a misplaced #endif directive to the right spot

Merged-by: James Almer <jamrial@gmail.com>
7 years agoMerge commit 'e723dce6f8ba1e8260433b6ecfe5a3262f4c7a99'
James Almer [Thu, 16 Mar 2017 00:35:36 +0000 (21:35 -0300)]
Merge commit 'e723dce6f8ba1e8260433b6ecfe5a3262f4c7a99'

* commit 'e723dce6f8ba1e8260433b6ecfe5a3262f4c7a99':
  dvbsubdec: Use NULL instead of 0 as pointer value

This commit is a noop. The affected code isn't in our tree.

Merged-by: James Almer <jamrial@gmail.com>
7 years agoMerge commit 'fc94a1acc27ab7296edce3fa81ef36691af5c134'
James Almer [Thu, 16 Mar 2017 00:33:59 +0000 (21:33 -0300)]
Merge commit 'fc94a1acc27ab7296edce3fa81ef36691af5c134'

* commit 'fc94a1acc27ab7296edce3fa81ef36691af5c134':
  Revert "libavutil: Use an intermediate variable in AV_COPY*U"

This commit is a noop.

Merged-by: James Almer <jamrial@gmail.com>
7 years agoMerge commit '9806b9ab5c7fb2ac5efd8ffa8713fea0c5fd218d'
James Almer [Thu, 16 Mar 2017 00:33:13 +0000 (21:33 -0300)]
Merge commit '9806b9ab5c7fb2ac5efd8ffa8713fea0c5fd218d'

* commit '9806b9ab5c7fb2ac5efd8ffa8713fea0c5fd218d':
  Revert "Don't use expressions with side effects in macro parameters"

This commit is a noop.

Merged-by: James Almer <jamrial@gmail.com>
7 years agoMerge commit 'f79d847400d218cfd0b95f10358fe6e65ec3c9c4'
James Almer [Thu, 16 Mar 2017 00:20:44 +0000 (21:20 -0300)]
Merge commit 'f79d847400d218cfd0b95f10358fe6e65ec3c9c4'

* commit 'f79d847400d218cfd0b95f10358fe6e65ec3c9c4':
  intreadwrite: Use the __unaligned keyword on MSVC for ARM and x86_64

Merged-by: James Almer <jamrial@gmail.com>
7 years agoMerge commit '230b1c070baa3b6d4bd590426a365b843d60ff50'
James Almer [Thu, 16 Mar 2017 00:17:37 +0000 (21:17 -0300)]
Merge commit '230b1c070baa3b6d4bd590426a365b843d60ff50'

* commit '230b1c070baa3b6d4bd590426a365b843d60ff50':
  intreadwrite: Add intermediate variables in the byteswise AV_W*() macros

Mostly a noop. Merged for cosmetic purposes.
See d83ff76ca0e1ec905ca2d5b27bd0973991eadbd9

Merged-by: James Almer <jamrial@gmail.com>
7 years agoMerge commit '014773b66bdff4de24f384066d1a85d2a5bb6774'
James Almer [Thu, 16 Mar 2017 00:14:51 +0000 (21:14 -0300)]
Merge commit '014773b66bdff4de24f384066d1a85d2a5bb6774'

* commit '014773b66bdff4de24f384066d1a85d2a5bb6774':
  libavutil: Use an intermediate variable in AV_COPY*U

This commit is a noop. It would be reverted in a future merge either
way.

Merged-by: James Almer <jamrial@gmail.com>
7 years agoMerge commit '25bacd0a0c32ae682e6f411b1ac9020aeaabca72'
James Almer [Thu, 16 Mar 2017 00:13:54 +0000 (21:13 -0300)]
Merge commit '25bacd0a0c32ae682e6f411b1ac9020aeaabca72'

* commit '25bacd0a0c32ae682e6f411b1ac9020aeaabca72':
  Don't use expressions with side effects in macro parameters

This commit is a noop. It would be reverted in a future merge either
way.

Merged-by: James Almer <jamrial@gmail.com>
7 years agoavcodec/tiff: Check palette shift
Michael Niedermayer [Tue, 14 Mar 2017 00:34:14 +0000 (01:34 +0100)]
avcodec/tiff: Check palette shift

Fixes multiple  runtime error: shift exponent 792 is too large for 32-bit type 'unsigned int'

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years agoavcodec/wavpack: Fix multiple integer overflows
Michael Niedermayer [Tue, 14 Mar 2017 00:17:53 +0000 (01:17 +0100)]
avcodec/wavpack: Fix multiple integer overflows

Fixes: 839/clusterfuzz-testcase-4871084446842880
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years agoavcodec/simple_idct_template: Fix several integer overflows
Michael Niedermayer [Mon, 13 Mar 2017 01:25:42 +0000 (02:25 +0100)]
avcodec/simple_idct_template: Fix several integer overflows

Benchmarks with START_TIMER indicate that the code is faster with unsigned, (that is
with the patch), there was quite some fluctuation in the numbers so this may be just
random

Fixes: 811/clusterfuzz-testcase-6465493076541440
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years agoconfigure: libnpp is always nonfree, even with LGPL
Ricardo Constantino [Wed, 15 Mar 2017 22:47:58 +0000 (22:47 +0000)]
configure: libnpp is always nonfree, even with LGPL

libnpp was erroneously grouped up with libfdk-aac and openssl to check
if --enable-nonfree wasn't passed only with --enable-gpl in
9f28db47accb31bfec40a56dd2dc19ffd366a6be. The latter two are compatible
with LGPL, libnpp is not.

Signed-off-by: James Almer <jamrial@gmail.com>
7 years agoMerge commit '7ebdffc353f3f0827864e8e3461fdc00cc243b14'
Clément Bœsch [Wed, 15 Mar 2017 22:26:10 +0000 (23:26 +0100)]
Merge commit '7ebdffc353f3f0827864e8e3461fdc00cc243b14'

* commit '7ebdffc353f3f0827864e8e3461fdc00cc243b14':
  dxv: Check to make sure we don't overrun buffers on corrupt inputs

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'e328178da90f44690e0076f4dbfd16da9175f441'
Clément Bœsch [Wed, 15 Mar 2017 22:22:50 +0000 (23:22 +0100)]
Merge commit 'e328178da90f44690e0076f4dbfd16da9175f441'

* commit 'e328178da90f44690e0076f4dbfd16da9175f441':
  qsvdec: only access hwaccel_context is the pixel format is QSV

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'ed1cd81076434b76f37576d4d806973476a8e96c'
Clément Bœsch [Wed, 15 Mar 2017 22:16:23 +0000 (23:16 +0100)]
Merge commit 'ed1cd81076434b76f37576d4d806973476a8e96c'

* commit 'ed1cd81076434b76f37576d4d806973476a8e96c':
  flac demuxer: improve probing

Suggested commit very closely matches our code, except with regards to
AVPROBE_SCORE_EXTENSION. The code layout is mostly merged but preserves
our behaviour.

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '5ebef79abecc3ffcc4ab0d46e203d13b068107c9'
Clément Bœsch [Wed, 15 Mar 2017 22:00:50 +0000 (23:00 +0100)]
Merge commit '5ebef79abecc3ffcc4ab0d46e203d13b068107c9'

* commit '5ebef79abecc3ffcc4ab0d46e203d13b068107c9':
  Fix instances of broken indentation found by gcc 6

Noop, see 21d3f0c026089c44a2

Merged-by: Clément Bœsch <u@pkh.me>
7 years agodoc: remove remaining legacy x11grab references
Clément Bœsch [Wed, 15 Mar 2017 21:23:00 +0000 (22:23 +0100)]
doc: remove remaining legacy x11grab references

7 years agoMerge commit '5ed4644d6de7f6112431dc2d9a5cfe9a0a75a688'
Clément Bœsch [Wed, 15 Mar 2017 21:17:29 +0000 (22:17 +0100)]
Merge commit '5ed4644d6de7f6112431dc2d9a5cfe9a0a75a688'

* commit '5ed4644d6de7f6112431dc2d9a5cfe9a0a75a688':
  x11grab: Rename internal component to "xcbgrab"

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '4fef648d10bf3bcfd4b8fa5755c1128966a2427c'
Clément Bœsch [Wed, 15 Mar 2017 21:07:47 +0000 (22:07 +0100)]
Merge commit '4fef648d10bf3bcfd4b8fa5755c1128966a2427c'

* commit '4fef648d10bf3bcfd4b8fa5755c1128966a2427c':
  Remove the legacy X11 screen grabber

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '8495d84f0101464b15517860db33e8605586d87e'
Clément Bœsch [Wed, 15 Mar 2017 20:58:13 +0000 (21:58 +0100)]
Merge commit '8495d84f0101464b15517860db33e8605586d87e'

* commit '8495d84f0101464b15517860db33e8605586d87e':
  ac3dec: Add some inline hints

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '3db51bf671defd47f2ec5ab67b11fb7730fb5e5a'
Clément Bœsch [Wed, 15 Mar 2017 20:57:57 +0000 (21:57 +0100)]
Merge commit '3db51bf671defd47f2ec5ab67b11fb7730fb5e5a'

* commit '3db51bf671defd47f2ec5ab67b11fb7730fb5e5a':
  ac3dec: Simplify skipping

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'f0ccc65bc9ab9ddf1366066395564c71bcc825ee'
Clément Bœsch [Wed, 15 Mar 2017 20:56:47 +0000 (21:56 +0100)]
Merge commit 'f0ccc65bc9ab9ddf1366066395564c71bcc825ee'

* commit 'f0ccc65bc9ab9ddf1366066395564c71bcc825ee':
  ac3dec: Split coupling-specific code from decode_audio_block()

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'a5ebe5d1217942238c641c83b24ef1106e53934a'
Clément Bœsch [Wed, 15 Mar 2017 20:43:59 +0000 (21:43 +0100)]
Merge commit 'a5ebe5d1217942238c641c83b24ef1106e53934a'

* commit 'a5ebe5d1217942238c641c83b24ef1106e53934a':
  ac3dec: Split spx-specific code from decode_audio_block()

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit '2ac00d2d1d51047c6ce69d5fbe1a08392d142658'
Clément Bœsch [Wed, 15 Mar 2017 20:29:56 +0000 (21:29 +0100)]
Merge commit '2ac00d2d1d51047c6ce69d5fbe1a08392d142658'

* commit '2ac00d2d1d51047c6ce69d5fbe1a08392d142658':
  mov: Validate the ID number

This commit is a noop as the modified check is not present in FFmpeg.
See d30870cc730337b7017cc194d696f68ee48f7f1d.

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'a115eb9e750543f1d8bf951414d291069bf396c2'
Clément Bœsch [Wed, 15 Mar 2017 20:23:30 +0000 (21:23 +0100)]
Merge commit 'a115eb9e750543f1d8bf951414d291069bf396c2'

* commit 'a115eb9e750543f1d8bf951414d291069bf396c2':
  mimic: do not release the newly obsolete reference at the end of decoding

Merged-by: Clément Bœsch <u@pkh.me>
7 years agoMerge commit 'ae90119c6701fa09ff747cca35238e36b2d2ab2f'
Clément Bœsch [Wed, 15 Mar 2017 20:09:06 +0000 (21:09 +0100)]
Merge commit 'ae90119c6701fa09ff747cca35238e36b2d2ab2f'

* commit 'ae90119c6701fa09ff747cca35238e36b2d2ab2f':
  configure: Simplify license incompatibility check

An extra GPLV3 list is added for libsmbclient as having it in both GPL
and VERSION3 lists would cause a duplicate in the final config list.

Also, for consistency, libnpp is treated the same as the other nonfree
component (libfdk_aac and openssl).

Merged-by: Clément Bœsch <u@pkh.me>