]> git.sesse.net Git - ffmpeg/log
ffmpeg
9 years agoMerge commit 'ed53cc217f6a6e4ddb35e3f01a79496091dc82dc'
Michael Niedermayer [Tue, 12 Aug 2014 14:27:17 +0000 (16:27 +0200)]
Merge commit 'ed53cc217f6a6e4ddb35e3f01a79496091dc82dc'

* commit 'ed53cc217f6a6e4ddb35e3f01a79496091dc82dc':
  hevc: derive partial merge list

Conflicts:
libavcodec/hevc_mvs.c

See: 4576eff05d94a5e0b853a7a595d31351cc539e7b
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '3505b19652ea34089a4cd08d4d3358fcc0a3db8b'
Michael Niedermayer [Tue, 12 Aug 2014 14:19:32 +0000 (16:19 +0200)]
Merge commit '3505b19652ea34089a4cd08d4d3358fcc0a3db8b'

* commit '3505b19652ea34089a4cd08d4d3358fcc0a3db8b':
  hevc: derive partially amvp list

Conflicts:
libavcodec/hevc_mvs.c

See: bbeaae96eb6fc623f6bfd4a0dd2fd06e6b620938
See: 3ad046083119abd3b063964bd79797e9935305e1
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '09182b3224370e1d636631e77f201a8388766bd6'
Michael Niedermayer [Tue, 12 Aug 2014 14:06:33 +0000 (16:06 +0200)]
Merge commit '09182b3224370e1d636631e77f201a8388766bd6'

* commit '09182b3224370e1d636631e77f201a8388766bd6':
  hevc: simplify rounding

Conflicts:
libavcodec/hevc_mvs.c

See: 2e471e4703ed5aaab6d6b6bf5a3c6895b79f02b4
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'd1b1c3bb5ef1bee409c06c3bcacfb8674e1cb574'
Michael Niedermayer [Tue, 12 Aug 2014 13:58:37 +0000 (15:58 +0200)]
Merge commit 'd1b1c3bb5ef1bee409c06c3bcacfb8674e1cb574'

* commit 'd1b1c3bb5ef1bee409c06c3bcacfb8674e1cb574':
  hevc: reorder loops

Conflicts:
libavcodec/hevc.c

See: eca1957c4cbee66a0b1f3dcabaffe68d61885f16
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoRemove useless configure option "--enable-sram".
Carl Eugen Hoyos [Tue, 12 Aug 2014 12:27:37 +0000 (14:27 +0200)]
Remove useless configure option "--enable-sram".

9 years agovp9/x86: fix bug in intra_pred_hd_32x32.
Ronald S. Bultje [Tue, 12 Aug 2014 10:37:00 +0000 (06:37 -0400)]
vp9/x86: fix bug in intra_pred_hd_32x32.

Fixes mismatch in first keyframe in sample
ffvp9_fails_where_libvpx.succeeds.webm from ticket 3849. There's still
a second mismatch a few frames into the sample.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agox86/dca: remove unused header
James Almer [Sun, 10 Aug 2014 05:24:01 +0000 (02:24 -0300)]
x86/dca: remove unused header

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agox86/ttadsp: remove an unnecessary mova
James Almer [Mon, 4 Aug 2014 02:53:39 +0000 (23:53 -0300)]
x86/ttadsp: remove an unnecessary mova

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agohevc: derive partial merge list
Christophe Gisquet [Fri, 8 Aug 2014 18:21:01 +0000 (18:21 +0000)]
hevc: derive partial merge list

The merge list only needs to be derived up to the merge index.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agohevc: derive partially amvp list
Christophe Gisquet [Fri, 8 Aug 2014 18:21:00 +0000 (18:21 +0000)]
hevc: derive partially amvp list

When the candidate has been found, no need to derive others.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agohevc: simplify rounding
Christophe Gisquet [Thu, 10 Jul 2014 06:47:55 +0000 (06:47 +0000)]
hevc: simplify rounding

Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agohevc: reorder loops
Christophe Gisquet [Fri, 8 Aug 2014 18:20:58 +0000 (18:20 +0000)]
hevc: reorder loops

iterate over memory in a more continuous order

Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agoconfigure: Check for nanosleep in headers as well, not only in libs
Martin Storsjö [Tue, 12 Aug 2014 09:23:38 +0000 (11:23 +0200)]
configure: Check for nanosleep in headers as well, not only in libs

On mingw64 with c++11 support, the link libraries do contain a
nanosleep function, while it isn't exposed via the headers. Using
check_func_headers instead of a plain check_func fixes this
misdetection.

Suggested-by: Hendrik Leppkes <h.leppkes@gmail.com>
See: [FFmpeg-devel] [PATCH] fix: 'make' with mingw32
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoFix warning if https protocol was requested but isn't available.
Carl Eugen Hoyos [Tue, 12 Aug 2014 08:03:36 +0000 (10:03 +0200)]
Fix warning if https protocol was requested but isn't available.

9 years agoCheck for hevc startcode when muxing into mpeg-ts.
Carl Eugen Hoyos [Tue, 12 Aug 2014 06:48:20 +0000 (08:48 +0200)]
Check for hevc startcode when muxing into mpeg-ts.

9 years agolavu: stop exporting internal functions
James Almer [Sun, 10 Aug 2014 00:04:35 +0000 (21:04 -0300)]
lavu: stop exporting internal functions

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavu: rename ff_opencl_set_parameter() to avpriv_opencl_set_parameter()
James Almer [Mon, 11 Aug 2014 19:35:39 +0000 (16:35 -0300)]
lavu: rename ff_opencl_set_parameter() to avpriv_opencl_set_parameter()

It was wrongly being exported and used by libavfilter.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter: ported lenscorrection filter from frei0r
Daniel Oberhoff [Mon, 11 Aug 2014 22:52:45 +0000 (00:52 +0200)]
avfilter: ported lenscorrection filter from frei0r

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoproresenc_kostya: report buffer overflow
Christophe Gisquet [Mon, 11 Aug 2014 22:06:08 +0000 (22:06 +0000)]
proresenc_kostya: report buffer overflow

If the allocated size, despite best efforts, is too small, exit
with the appropriate error.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoproresenc_kostya: remove unneeded parameters
Christophe Gisquet [Mon, 11 Aug 2014 22:06:07 +0000 (22:06 +0000)]
proresenc_kostya: remove unneeded parameters

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoAdd missing initialization for AVProbeData.
Reimar Döffinger [Mon, 11 Aug 2014 17:55:26 +0000 (19:55 +0200)]
Add missing initialization for AVProbeData.

This has become necessary since the new mime field was added.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoavcodec/snow: fix null pointer dereference in cleanup after allocation failure
Michael Niedermayer [Mon, 11 Aug 2014 13:36:22 +0000 (15:36 +0200)]
avcodec/snow: fix null pointer dereference in cleanup after allocation failure

Fixes: snowf.avi
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/huffyuvdec: fix overread checks
Michael Niedermayer [Mon, 11 Aug 2014 13:16:29 +0000 (15:16 +0200)]
avcodec/huffyuvdec: fix overread checks

Fixes: ffvhuff_f.avi
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/get_bits: add BITS_LEFT() for finding the bits left with an opened reader
Michael Niedermayer [Mon, 11 Aug 2014 13:15:19 +0000 (15:15 +0200)]
avcodec/get_bits: add BITS_LEFT() for finding the bits left with an opened reader

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavf: stop exporting internal functions
James Almer [Sun, 10 Aug 2014 00:04:33 +0000 (21:04 -0300)]
lavf: stop exporting internal functions

Except for those currently used by ffserver.

Signed-off-by: James Almer <jamrial@gmail.com>
Also left some others that seemed used by applications other than ffserver

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavf/mpegts: remove obsolete ff_mpegts_parse_* cruft
James Almer [Sun, 10 Aug 2014 01:01:47 +0000 (22:01 -0300)]
lavf/mpegts: remove obsolete ff_mpegts_parse_* cruft

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavc/raw: remove obsolete ff_raw_pix_fmt_tags cruft
James Almer [Sun, 10 Aug 2014 01:01:46 +0000 (22:01 -0300)]
lavc/raw: remove obsolete ff_raw_pix_fmt_tags cruft

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavc: stop exporting internal functions and tables
James Almer [Sun, 10 Aug 2014 00:04:32 +0000 (21:04 -0300)]
lavc: stop exporting internal functions and tables

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/idctdsp: move add/put_pixels_clamped_c to header
Michael Niedermayer [Mon, 11 Aug 2014 11:07:39 +0000 (13:07 +0200)]
avcodec/idctdsp: move add/put_pixels_clamped_c to header

This allows sharing them with the xvid IDCT

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agohevc: do generic validation of bitstream
Christophe Gisquet [Sun, 10 Aug 2014 17:22:06 +0000 (19:22 +0200)]
hevc: do generic validation of bitstream

After finishing parsing VPS/SPS/PPS/slice header, check remaining bits,
and if an overconsumption occurred, report invalid data.

Liked-by: BBB
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agohevc: add missing comma in log message.
Ronald S. Bultje [Mon, 11 Aug 2014 00:04:56 +0000 (20:04 -0400)]
hevc: add missing comma in log message.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/vc1dec: do not crash when flushing without an allocated frame
Michael Niedermayer [Mon, 11 Aug 2014 00:16:43 +0000 (02:16 +0200)]
avcodec/vc1dec: do not crash when flushing without an allocated frame

Fixes Ticket3837
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoswresample: check av_opt_set for failure in swr_alloc_set_opts()
Michael Niedermayer [Sun, 10 Aug 2014 23:34:34 +0000 (01:34 +0200)]
swresample: check av_opt_set for failure in swr_alloc_set_opts()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoswresample: document the need to configure the context using AVOptions
Luca Barbato [Sun, 10 Aug 2014 22:35:19 +0000 (00:35 +0200)]
swresample: document the need to configure the context using AVOptions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/movenc: Fix printf type
Michael Niedermayer [Sun, 10 Aug 2014 22:09:09 +0000 (00:09 +0200)]
avformat/movenc: Fix printf type

Found-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '08b94f160a2c966bb83e32bde0e52246fafa2155'
Michael Niedermayer [Sun, 10 Aug 2014 21:47:09 +0000 (23:47 +0200)]
Merge commit '08b94f160a2c966bb83e32bde0e52246fafa2155'

* commit '08b94f160a2c966bb83e32bde0e52246fafa2155':
  configure: Don't pass MSVC compiler options -M[TD] to armasm

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'cc1d8c54c19dd14fb851e3e7a7793d6b3bd75e94'
Michael Niedermayer [Sun, 10 Aug 2014 21:41:08 +0000 (23:41 +0200)]
Merge commit 'cc1d8c54c19dd14fb851e3e7a7793d6b3bd75e94'

* commit 'cc1d8c54c19dd14fb851e3e7a7793d6b3bd75e94':
  avcodec: Postpone FF_IDCT_XVIDMMX removal until the next version bump

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoRemove panscan information in av_frame_copy_props() if resolution changes.
Carl Eugen Hoyos [Sun, 10 Aug 2014 20:31:33 +0000 (22:31 +0200)]
Remove panscan information in av_frame_copy_props() if resolution changes.

Fixes ticket #3750.

9 years agoavcodec/iff: check pixfmt for rgb8 / rgbn
Michael Niedermayer [Sun, 10 Aug 2014 19:59:33 +0000 (21:59 +0200)]
avcodec/iff: check pixfmt for rgb8 / rgbn

Fixes out of array access

Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/iff: Factorize av_pix_fmt_desc_get() out
Michael Niedermayer [Sun, 10 Aug 2014 19:53:39 +0000 (21:53 +0200)]
avcodec/iff: Factorize av_pix_fmt_desc_get() out

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/movenc: check that reel_name length doesn't exceed UINT16_MAX
Mark Reid [Sun, 10 Aug 2014 19:01:33 +0000 (12:01 -0700)]
avformat/movenc: check that reel_name length doesn't exceed UINT16_MAX

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'd63443b9684fa7b3e086634f7b44b203b6d9221e'
Michael Niedermayer [Sun, 10 Aug 2014 18:51:15 +0000 (20:51 +0200)]
Merge commit 'd63443b9684fa7b3e086634f7b44b203b6d9221e'

* commit 'd63443b9684fa7b3e086634f7b44b203b6d9221e':
  lavc: drop the av_fast_{re,m}alloc compatibility wrappers

Conflicts:
libavcodec/utils.c

See: a973e01501bc3ca5c61d778f97f350837d4ed481
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '8dca0877e3e1457e9ec79ffa1ead1135aabb791c'
Michael Niedermayer [Sun, 10 Aug 2014 18:34:28 +0000 (20:34 +0200)]
Merge commit '8dca0877e3e1457e9ec79ffa1ead1135aabb791c'

* commit '8dca0877e3e1457e9ec79ffa1ead1135aabb791c':
  mpegts: Return proper error code on invalid input data

Conflicts:
libavformat/mpegtsenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '59cc0812207e3c2e2f2e559d60d0a8f9296a8847'
Michael Niedermayer [Sun, 10 Aug 2014 18:32:00 +0000 (20:32 +0200)]
Merge commit '59cc0812207e3c2e2f2e559d60d0a8f9296a8847'

* commit '59cc0812207e3c2e2f2e559d60d0a8f9296a8847':
  Prepare for 11_alpha2 Release

Conflicts:
RELEASE

Not merged, as our release numbers differ

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'ab0742d2f34d70415620441b7ed7da2f03a0c14f'
Michael Niedermayer [Sun, 10 Aug 2014 17:53:00 +0000 (19:53 +0200)]
Merge commit 'ab0742d2f34d70415620441b7ed7da2f03a0c14f'

* commit 'ab0742d2f34d70415620441b7ed7da2f03a0c14f':
  configure: Suggest upgrading gas-preprocessor instead of just installing

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoconfigure: Don't pass MSVC compiler options -M[TD] to armasm
Martin Storsjö [Sun, 10 Aug 2014 11:40:09 +0000 (14:40 +0300)]
configure: Don't pass MSVC compiler options -M[TD] to armasm

The -MD option (for enabling a dynamically linked crt) gets interpreted
as a cpp option for generating dependency information (into a file named
'-.d', when preprocessing to a pipe). We shouldn't be passing
any and all C compiler flags to armasm (which is a plain assembler,
only with cpp bolted on via gas-preprocessor), but these are the
main conflicting ones.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoavcodec: Postpone FF_IDCT_XVIDMMX removal until the next version bump
Diego Biurrun [Sun, 10 Aug 2014 13:44:03 +0000 (06:44 -0700)]
avcodec: Postpone FF_IDCT_XVIDMMX removal until the next version bump

9 years agoMerge commit '9f8cf50e3be04b8e178086edaa4598826143303d'
Michael Niedermayer [Sun, 10 Aug 2014 17:16:42 +0000 (19:16 +0200)]
Merge commit '9f8cf50e3be04b8e178086edaa4598826143303d'

* commit '9f8cf50e3be04b8e178086edaa4598826143303d':
  configure: Enable gas-preprocessor on all OSes but only if available

Conflicts:
configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'f4312352fc52cc47c1ba398a33f629d32a737e91'
Michael Niedermayer [Sun, 10 Aug 2014 16:54:11 +0000 (18:54 +0200)]
Merge commit 'f4312352fc52cc47c1ba398a33f629d32a737e91'

* commit 'f4312352fc52cc47c1ba398a33f629d32a737e91':
  configure: Add probe identification of MS armasm

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge remote-tracking branch 'cehoyos/master'
Michael Niedermayer [Sun, 10 Aug 2014 16:48:03 +0000 (18:48 +0200)]
Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  lavf/img2dec: Initialize a stack variable.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '2597a842a0a2c7e8aa76f32733d27bf64817ae86'
Michael Niedermayer [Sun, 10 Aug 2014 16:40:46 +0000 (18:40 +0200)]
Merge commit '2597a842a0a2c7e8aa76f32733d27bf64817ae86'

* commit '2597a842a0a2c7e8aa76f32733d27bf64817ae86':
  tiff: Improve grayscale support

Conflicts:
libavcodec/tiff.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'fb1ddcdc8f51b9d261ae8e9c26b91e81f7b6bf45'
Michael Niedermayer [Sun, 10 Aug 2014 16:20:37 +0000 (18:20 +0200)]
Merge commit 'fb1ddcdc8f51b9d261ae8e9c26b91e81f7b6bf45'

* commit 'fb1ddcdc8f51b9d261ae8e9c26b91e81f7b6bf45':
  avresample: Introduce AVFrame-based API

Conflicts:
libavresample/utils.c
libavutil/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavf/img2dec: Initialize a stack variable.
Carl Eugen Hoyos [Sun, 10 Aug 2014 15:45:05 +0000 (17:45 +0200)]
lavf/img2dec: Initialize a stack variable.

Fixes a valgrind warning about using unitialised memory.
Hopefully fixes crashes on several platforms reported through fate.

9 years agohevc_ps: verify P/T/L information
Christophe Gisquet [Sat, 9 Aug 2014 18:11:20 +0000 (20:11 +0200)]
hevc_ps: verify P/T/L information

This makes the SPS parsing a little, but barely, safer.

Reviewed-by: Mickaël Raulet <mraulet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavc: drop the av_fast_{re,m}alloc compatibility wrappers
Anton Khirnov [Sun, 10 Aug 2014 10:13:30 +0000 (10:13 +0000)]
lavc: drop the av_fast_{re,m}alloc compatibility wrappers

They were only needed until the bump.

9 years agoavcodec/options_table: leave xvidmmx AVOption in place
Michael Niedermayer [Sat, 9 Aug 2014 12:49:32 +0000 (14:49 +0200)]
avcodec/options_table: leave xvidmmx AVOption in place

Also mark it as deprecated through its help text

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agohevc_mvs: set candidate availabilities
Christophe Gisquet [Sun, 10 Aug 2014 13:02:36 +0000 (15:02 +0200)]
hevc_mvs: set candidate availabilities

They might be left uninitialized otherwise since 3ad04608.

Fixes ticket #3840.

Found-by: Carl Eugen Hoyos <ce@hoyos.ws>
Reported-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoRevert "lavc/utils: Do not require dimensions for PNG."
Derek Buitenhuis [Sun, 13 Jul 2014 18:32:56 +0000 (19:32 +0100)]
Revert "lavc/utils: Do not require dimensions for PNG."

mplayer-specifc hacks should not be in our codebase. mplayer should fix
its own code. It is not our responsibility to work around their broken
code.

This reverts commit e8e575633faf19711910cf9caf59f7db300a9ccd.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years agompegts: Return proper error code on invalid input data
Nidhi Makhijani [Sat, 9 Aug 2014 18:19:12 +0000 (23:49 +0530)]
mpegts: Return proper error code on invalid input data

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agoPrepare for 11_alpha2 Release
Reinhard Tartler [Sun, 10 Aug 2014 14:07:55 +0000 (10:07 -0400)]
Prepare for 11_alpha2 Release

9 years agoconfigure: Suggest upgrading gas-preprocessor instead of just installing
Martin Storsjö [Sun, 10 Aug 2014 13:05:41 +0000 (16:05 +0300)]
configure: Suggest upgrading gas-preprocessor instead of just installing

Older versions don't support all the features we test for now.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoconfigure: Enable gas-preprocessor on all OSes but only if available
Diego Biurrun [Sat, 9 Aug 2014 15:06:12 +0000 (08:06 -0700)]
configure: Enable gas-preprocessor on all OSes but only if available

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoconfigure: Add probe identification of MS armasm
Martin Storsjö [Sat, 9 Aug 2014 19:25:44 +0000 (22:25 +0300)]
configure: Add probe identification of MS armasm

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agotiff: Improve grayscale support
Diego Elio Pettenò [Sat, 9 Aug 2014 13:19:45 +0000 (14:19 +0100)]
tiff: Improve grayscale support

Only use PAL8 if palette is present, else use GRAY8 for pixfmt.

Instead of simulating a grayscale palette, use real grayscale pixels, if no
palette is actually defined.

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agoavresample: Introduce AVFrame-based API
Luca Barbato [Sun, 25 May 2014 15:49:15 +0000 (17:49 +0200)]
avresample: Introduce AVFrame-based API

9 years agohevc: fix incorrect sao buffer size
Christophe Gisquet [Sun, 10 Aug 2014 09:43:12 +0000 (11:43 +0200)]
hevc: fix incorrect sao buffer size

It previously used the output, cropped size, causing overreads/writes.

Fixes ticket #3839.

This issue was introduced by d249e682, which is not part of any release

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavfi: stop exporting internal functions
James Almer [Sun, 10 Aug 2014 00:04:34 +0000 (21:04 -0300)]
lavfi: stop exporting internal functions

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agotools/fourcc2pixfmt: use avpriv_get_raw_pix_fmt_tags()
James Almer [Sun, 10 Aug 2014 00:53:33 +0000 (21:53 -0300)]
tools/fourcc2pixfmt: use avpriv_get_raw_pix_fmt_tags()

lavc doesn't export ff_raw_pix_fmt_tags[] anymore.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '8c6f430291374cf6d2cfb85cdbb809803b5a7d83'
Michael Niedermayer [Sun, 10 Aug 2014 00:20:54 +0000 (02:20 +0200)]
Merge commit '8c6f430291374cf6d2cfb85cdbb809803b5a7d83'

* commit '8c6f430291374cf6d2cfb85cdbb809803b5a7d83':
  mpeg: Suppress a compiler warning on callback type

Conflicts:
libavformat/mpegenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '9325d88eba8038b3e2a4485e473a018410379e2d'
Michael Niedermayer [Sun, 10 Aug 2014 00:09:13 +0000 (02:09 +0200)]
Merge commit '9325d88eba8038b3e2a4485e473a018410379e2d'

* commit '9325d88eba8038b3e2a4485e473a018410379e2d':
  lavc: remove obsolete and disabled avpriv functions

Conflicts:
libavcodec/dv_profile.c
libavcodec/dv_profile.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '24c788f4878729a42150581d7ed7e9a11daf874d'
Michael Niedermayer [Sun, 10 Aug 2014 00:01:34 +0000 (02:01 +0200)]
Merge commit '24c788f4878729a42150581d7ed7e9a11daf874d'

* commit '24c788f4878729a42150581d7ed7e9a11daf874d':
  Remove obsolete FF_API_REFERENCE_DTS cruft.

Conflicts:
libavformat/avformat.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec: disable FF_API_FAST_MALLOC
Michael Niedermayer [Sat, 9 Aug 2014 23:41:57 +0000 (01:41 +0200)]
avcodec: disable FF_API_FAST_MALLOC

It causes build failures in some cases and the functions are provided by
libavutil so the wraper should not be needed anymore

Found-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '24e87f7f425a52b1e69661dcb2fbe0555a76f30b'
Michael Niedermayer [Sat, 9 Aug 2014 23:36:21 +0000 (01:36 +0200)]
Merge commit '24e87f7f425a52b1e69661dcb2fbe0555a76f30b'

* commit '24e87f7f425a52b1e69661dcb2fbe0555a76f30b':
  Remove obsolete FF_API_PROBE_MIME cruft.

Conflicts:
libavformat/avformat.h
libavformat/format.c
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge remote-tracking branch 'cigaes/master'
Michael Niedermayer [Sat, 9 Aug 2014 23:34:01 +0000 (01:34 +0200)]
Merge remote-tracking branch 'cigaes/master'

* cigaes/master:
  lavf/avio: do not include bprint.h.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '472f9ed312ec784f7c72876b77163f4741880d05'
Michael Niedermayer [Sat, 9 Aug 2014 23:21:30 +0000 (01:21 +0200)]
Merge commit '472f9ed312ec784f7c72876b77163f4741880d05'

* commit '472f9ed312ec784f7c72876b77163f4741880d05':
  Remove obsolete FF_API_AVFRAME_COLORSPACE cruft.

Conflicts:
libavcodec/utils.c
libavutil/frame.h
libavutil/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agobump libpostproc and libswresample
Michael Niedermayer [Sat, 9 Aug 2014 22:53:27 +0000 (00:53 +0200)]
bump libpostproc and libswresample

this is needed / avoids some headaches  as one of their dependancies
(libavutil) was bumped

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoswresample-test: make it independant of the internal SWR_CH_MAX
Michael Niedermayer [Sat, 9 Aug 2014 23:10:45 +0000 (01:10 +0200)]
swresample-test: make it independant of the internal SWR_CH_MAX

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolibavfilter/af_amerge: Do not depend on SWR_CH_MAX
Michael Niedermayer [Sat, 9 Aug 2014 23:07:56 +0000 (01:07 +0200)]
libavfilter/af_amerge: Do not depend on SWR_CH_MAX

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/af_pan: Do not use SWR_CH_MAX
Michael Niedermayer [Sat, 9 Aug 2014 23:07:20 +0000 (01:07 +0200)]
avfilter/af_pan: Do not use SWR_CH_MAX

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/af_pan: check if the number of channels where sucessfully set
Michael Niedermayer [Sat, 9 Aug 2014 23:06:52 +0000 (01:06 +0200)]
avfilter/af_pan: check if the number of channels where sucessfully set

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffmpeg: do not use SWR_CH_MAX
Michael Niedermayer [Sat, 9 Aug 2014 23:06:03 +0000 (01:06 +0200)]
ffmpeg: do not use SWR_CH_MAX

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/version: delay removial of FF_API_AUDIO_CONVERT/FF_API_AVCODEC_RESAMPLE
Michael Niedermayer [Sat, 9 Aug 2014 22:38:48 +0000 (00:38 +0200)]
avcodec/version: delay removial of FF_API_AUDIO_CONVERT/FF_API_AVCODEC_RESAMPLE

Some applications still use this deprecated API
Its not nice to remove it when its still in use and as long as it doesnt
cause us any work to keep it.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '1985c2e75c607ac51bfd8dc87d2957a5edf2b6f8'
Michael Niedermayer [Sat, 9 Aug 2014 22:26:45 +0000 (00:26 +0200)]
Merge commit '1985c2e75c607ac51bfd8dc87d2957a5edf2b6f8'

* commit '1985c2e75c607ac51bfd8dc87d2957a5edf2b6f8':
  Bump major versions of all libraries.

Conflicts:
doc/APIchanges
libavcodec/version.h
libavdevice/version.h
libavfilter/version.h
libavformat/version.h
libavutil/version.h
libswscale/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/version: leave old audio API
Michael Niedermayer [Sat, 9 Aug 2014 22:14:08 +0000 (00:14 +0200)]
avcodec/version: leave old audio API

If people prefer we can also drop it

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/flacdec: fix handling of av_samples_fill_arrays() return value
Michael Niedermayer [Sat, 9 Aug 2014 22:03:13 +0000 (00:03 +0200)]
avcodec/flacdec: fix handling of av_samples_fill_arrays() return value

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodrop LLS1, rename LLS2 to LLS
Michael Niedermayer [Sat, 9 Aug 2014 21:03:26 +0000 (23:03 +0200)]
drop LLS1, rename LLS2 to LLS

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavutil: delay removial of FF_API_GET_CHANNEL_LAYOUT_COMPAT
Michael Niedermayer [Sat, 9 Aug 2014 21:19:54 +0000 (23:19 +0200)]
avutil: delay removial of FF_API_GET_CHANNEL_LAYOUT_COMPAT

avoids fate failure of join filter

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodelay removial of FF_API_CODEC_ID, FF_API_OLD_AVOPTIONS and FF_API_OLD_ENCODE_VIDEO
Michael Niedermayer [Sat, 9 Aug 2014 20:35:23 +0000 (22:35 +0200)]
delay removial of FF_API_CODEC_ID, FF_API_OLD_AVOPTIONS and FF_API_OLD_ENCODE_VIDEO

This prevents a build failure when bumping.
the uses could easily be updated / removed, if people prefer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec: remove deprecated use of FF_IDCT_XVIDMMX
Michael Niedermayer [Sat, 9 Aug 2014 20:39:44 +0000 (22:39 +0200)]
avcodec: remove deprecated use of FF_IDCT_XVIDMMX

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit eedc3f36532e4c6de782fe1c2dc59d192418a8fc)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'f4c444e17d137c786f0ed2da0e5943df505d5f9e'
Michael Niedermayer [Sat, 9 Aug 2014 20:19:18 +0000 (22:19 +0200)]
Merge commit 'f4c444e17d137c786f0ed2da0e5943df505d5f9e'

* commit 'f4c444e17d137c786f0ed2da0e5943df505d5f9e':
  Postpone API-incompatible changes until the next bump.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '7acdd3a1275bcd9cad48f9632169f6bbaeb39d84'
Michael Niedermayer [Sat, 9 Aug 2014 19:49:55 +0000 (21:49 +0200)]
Merge commit '7acdd3a1275bcd9cad48f9632169f6bbaeb39d84'

* commit '7acdd3a1275bcd9cad48f9632169f6bbaeb39d84':
  hevc_filter: avoid excessive calls to ff_hevc_get_ref_list()

Conflicts:
libavcodec/hevc_filter.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agompeg: Suppress a compiler warning on callback type
Luca Barbato [Wed, 6 Aug 2014 01:31:58 +0000 (03:31 +0200)]
mpeg: Suppress a compiler warning on callback type

9 years agoMerge commit '52a2c17ec006282f388071a831dfb21288611253'
Michael Niedermayer [Sat, 9 Aug 2014 19:35:11 +0000 (21:35 +0200)]
Merge commit '52a2c17ec006282f388071a831dfb21288611253'

* commit '52a2c17ec006282f388071a831dfb21288611253':
  hevc_refs: drop the handling of negative coordinates in ff_hevc_get_ref_list()

Conflicts:
libavcodec/hevc_refs.c

See: c8dd048ab8cff815c9f4b16a62db0b74df011f0a
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'a7a17e3f1915ce69b787dc58c5d8dba0910fc0a4'
Michael Niedermayer [Sat, 9 Aug 2014 19:17:14 +0000 (21:17 +0200)]
Merge commit 'a7a17e3f1915ce69b787dc58c5d8dba0910fc0a4'

* commit 'a7a17e3f1915ce69b787dc58c5d8dba0910fc0a4':
  hevc_filter: move some conditions out of loops

Conflicts:
libavcodec/hevc_filter.c

This is possibly less readable than the variant used before.
Thus please take a look and if people agree its worse, dont
hesitate to revert.

See: 83976e40e89655162e5394cf8915d9b6d89702d9
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '70211539a39ca3854f8a9e97d51dc27caa079943'
Michael Niedermayer [Sat, 9 Aug 2014 19:01:06 +0000 (21:01 +0200)]
Merge commit '70211539a39ca3854f8a9e97d51dc27caa079943'

* commit '70211539a39ca3854f8a9e97d51dc27caa079943':
  hevc: deobfuscate slice/tile boundary handling for DBF

Conflicts:
libavcodec/hevc.c
libavcodec/hevc_filter.c

See: a5c621aa852522c79146035b2db4b89d2e096d3c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '55019715785790836f60870180e1764b06e6591c'
Michael Niedermayer [Sat, 9 Aug 2014 18:51:48 +0000 (20:51 +0200)]
Merge commit '55019715785790836f60870180e1764b06e6591c'

* commit '55019715785790836f60870180e1764b06e6591c':
  hevc_filter: drop more redundant checks

Conflicts:
libavcodec/hevc_filter.c

No change, as the removed checks where not in FFmpeg

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '65b8b6c476454d201348737527a1d9471f689278'
Michael Niedermayer [Sat, 9 Aug 2014 18:48:53 +0000 (20:48 +0200)]
Merge commit '65b8b6c476454d201348737527a1d9471f689278'

* commit '65b8b6c476454d201348737527a1d9471f689278':
  hevc_filter: drop redundant checks

Conflicts:
libavcodec/hevc_filter.c

No change as the removed checks where not in ffmpeg

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '4d1ff2a489f4c60501b1a6a2d1f3874e61a77df9'
Michael Niedermayer [Sat, 9 Aug 2014 18:32:38 +0000 (20:32 +0200)]
Merge commit '4d1ff2a489f4c60501b1a6a2d1f3874e61a77df9'

* commit '4d1ff2a489f4c60501b1a6a2d1f3874e61a77df9':
  hevc: calculate the dbf strength in hls_pcm_sample() only if dbf is enabled

Conflicts:
libavcodec/hevc.c

See: 83976e40e89655162e5394cf8915d9b6d89702d9
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/dctdnoiz: remove a few indirections in idcts
Clément Bœsch [Sat, 9 Aug 2014 18:34:14 +0000 (20:34 +0200)]
avfilter/dctdnoiz: remove a few indirections in idcts

No change in the generated asm.

9 years agolavc: remove obsolete and disabled avpriv functions
Anton Khirnov [Wed, 6 Aug 2014 20:02:11 +0000 (20:02 +0000)]
lavc: remove obsolete and disabled avpriv functions