ffmpeg.git
6 years agotests/tiny_ssim: include the 2 macros instead of a header
Michael Niedermayer [Wed, 27 Mar 2013 00:38:18 +0000 (01:38 +0100)]
tests/tiny_ssim: include the 2 macros instead of a header

Should fix compilation on open solaris

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompegvideo: fix null pointer dereference on switching streams
Michael Niedermayer [Tue, 26 Mar 2013 20:54:36 +0000 (21:54 +0100)]
mpegvideo: fix null pointer dereference on switching streams

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompegvideo/h264: drop period_since_free
Michael Niedermayer [Tue, 26 Mar 2013 18:27:32 +0000 (19:27 +0100)]
mpegvideo/h264: drop period_since_free

This should not be needed anymore

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agotiny_ssim: Avoid "for(int ..."
Michael Niedermayer [Tue, 26 Mar 2013 18:26:44 +0000 (19:26 +0100)]
tiny_ssim: Avoid "for(int ..."

This should avoid issues with old compilers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agotools: add tiny_ssim
Loren Merritt [Sun, 24 Mar 2013 15:04:48 +0000 (16:04 +0100)]
tools: add tiny_ssim

Taken from:
http://lists.mplayerhq.hu/pipermail/mencoder-users/2006-August/003801.html
and
x264
See: [FFmpeg-devel] [PATCH] tools: add tiny_ssim

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoOnly test the first frame for missing aac_adtstoasc bistream filter.
Carl Eugen Hoyos [Tue, 26 Mar 2013 14:16:07 +0000 (15:16 +0100)]
Only test the first frame for missing aac_adtstoasc bistream filter.

Many players ignore broken aac frames, so don't abort mov or flv
muxing when encountering one, just print a warning instead.

Fixes ticket #2380.

6 years agompegtsenc: Only test the first frame for missing h264_mp4toannexb filter.
Carl Eugen Hoyos [Tue, 26 Mar 2013 14:15:46 +0000 (15:15 +0100)]
mpegtsenc: Only test the first frame for missing h264_mp4toannexb filter.

Many video players accept broken frames in a transport stream, so there
is no reason to abort remuxing when encountering one, just print a
warning instead.

Fixes ticket #1758.

6 years agoconfigure: mpegvideo should not depend on error resilience
Michael Niedermayer [Tue, 26 Mar 2013 13:43:12 +0000 (14:43 +0100)]
configure: mpegvideo should not depend on error resilience

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoconfigure: the snow encoder is not supposed to depend on error resilience
Michael Niedermayer [Tue, 26 Mar 2013 13:41:55 +0000 (14:41 +0100)]
configure: the snow encoder is not supposed to depend on error resilience

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 26 Mar 2013 13:36:00 +0000 (14:36 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  h264: Make it possible to compile without error_resilience

Conflicts:
configure
libavcodec/h264.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/mptestsrc: make use of AV_OPT_TYPE_VIDEO_RATE
Paul B Mahol [Tue, 26 Mar 2013 12:23:46 +0000 (12:23 +0000)]
lavfi/mptestsrc: make use of AV_OPT_TYPE_VIDEO_RATE

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavfi/cellauto: make use of AV_OPT_TYPE_VIDEO_RATE
Paul B Mahol [Tue, 26 Mar 2013 12:19:16 +0000 (12:19 +0000)]
lavfi/cellauto: make use of AV_OPT_TYPE_VIDEO_RATE

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavfi/life: make use of AV_OPT_TYPE_VIDEO_RATE
Paul B Mahol [Tue, 26 Mar 2013 12:12:53 +0000 (12:12 +0000)]
lavfi/life: make use of AV_OPT_TYPE_VIDEO_RATE

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavfi/mandelbrot: make use of AV_OPT_TYPE_VIDEO_RATE
Paul B Mahol [Tue, 26 Mar 2013 12:08:44 +0000 (12:08 +0000)]
lavfi/mandelbrot: make use of AV_OPT_TYPE_VIDEO_RATE

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavfi/testsrc: make use of AV_OPT_TYPE_VIDEO_RATE
Paul B Mahol [Tue, 26 Mar 2013 12:02:47 +0000 (12:02 +0000)]
lavfi/testsrc: make use of AV_OPT_TYPE_VIDEO_RATE

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavfi/fps: make use of AV_OPT_TYPE_VIDEO_RATE
Paul B Mahol [Tue, 26 Mar 2013 12:01:18 +0000 (12:01 +0000)]
lavfi/fps: make use of AV_OPT_TYPE_VIDEO_RATE

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoMerge commit 'f1e9398621af0bc9d166014e4ce6996bb4f141d0'
Michael Niedermayer [Tue, 26 Mar 2013 12:32:12 +0000 (13:32 +0100)]
Merge commit 'f1e9398621af0bc9d166014e4ce6996bb4f141d0'

* commit 'f1e9398621af0bc9d166014e4ce6996bb4f141d0':
  lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideo

Conflicts:
libavcodec/h264_parser.c
libavcodec/internal.h
libavcodec/mpeg12.c
libavcodec/utils.c
libavformat/mpegtsenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoRevert "Fix compilation with --disable-everything --enable-parser=h264."
Michael Niedermayer [Tue, 26 Mar 2013 12:23:01 +0000 (13:23 +0100)]
Revert "Fix compilation with --disable-everything --enable-parser=h264."

This reverts commit e0e8c20559d1197868b2620d8d9c560167a8f5d6.

The mpegvideo dependancy should not be needed anymore

6 years agoMerge commit '75644335b907919057960716508477239c26fed4'
Michael Niedermayer [Tue, 26 Mar 2013 12:22:48 +0000 (13:22 +0100)]
Merge commit '75644335b907919057960716508477239c26fed4'

* commit '75644335b907919057960716508477239c26fed4':
  lavc: Move start code finding to utils.c

Conflicts:
configure
libavcodec/mpegvideo.c
libavcodec/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '613a37eca4c7b8eefceaa3e0231c23ad090ca94f'
Michael Niedermayer [Tue, 26 Mar 2013 12:14:16 +0000 (13:14 +0100)]
Merge commit '613a37eca4c7b8eefceaa3e0231c23ad090ca94f'

* commit '613a37eca4c7b8eefceaa3e0231c23ad090ca94f':
  ape: 3.80-3.92 decoding support
  h264: Remove an unused variable

Conflicts:
libavcodec/apedec.c
libavformat/ape.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agox86/dsputil.asm: make unaligned bswap actually work
Michael Niedermayer [Tue, 26 Mar 2013 12:02:37 +0000 (13:02 +0100)]
x86/dsputil.asm: make unaligned bswap actually work

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit 'e5c2794a7162e485eefd3133af5b98fd31386aeb'
Michael Niedermayer [Tue, 26 Mar 2013 11:53:47 +0000 (12:53 +0100)]
Merge commit 'e5c2794a7162e485eefd3133af5b98fd31386aeb'

* commit 'e5c2794a7162e485eefd3133af5b98fd31386aeb':
  x86: consistently use unaligned movs in the unaligned bswap

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoh264: Make it possible to compile without error_resilience
Ronald S. Bultje [Sun, 3 Mar 2013 00:57:26 +0000 (16:57 -0800)]
h264: Make it possible to compile without error_resilience

Error resilience is enabled by the h264 decoder, unless explicitly
disabled. --disable-everything --enable-decoder=h264 will produce
a h264 decoder with error resilience enabled, while
--disable-everything --enable-decoder=h264 --disable-error-resilience
will produce a h264 decoder with error resilience disabled.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agolavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideo
Martin Storsjö [Mon, 25 Mar 2013 12:11:41 +0000 (14:11 +0200)]
lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideo

Also move the declaration to internal.h, and add restrict qualifiers
to the declaration (as in the implementation).

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agolavc: Move start code finding to utils.c
Martin Storsjö [Mon, 25 Mar 2013 10:42:57 +0000 (12:42 +0200)]
lavc: Move start code finding to utils.c

This allows dropping the mpegvideo dependency from a number of
components.

This also fixes standalone building of the h264 parser, which
was broken in 64e438697.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agoavcodec/x86/dsputil_qns_template: use av_assert
Michael Niedermayer [Tue, 26 Mar 2013 03:04:19 +0000 (04:04 +0100)]
avcodec/x86/dsputil_qns_template: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/perms: add myself to the copyright header.
Clément Bœsch [Tue, 26 Mar 2013 01:41:05 +0000 (02:41 +0100)]
lavfi/perms: add myself to the copyright header.

6 years agolavfi/perms: add seed option.
Clément Bœsch [Tue, 26 Mar 2013 01:39:55 +0000 (02:39 +0100)]
lavfi/perms: add seed option.

6 years agolavfi/perms: remove unecessary indirection after f7324c06.
Clément Bœsch [Tue, 26 Mar 2013 01:24:03 +0000 (02:24 +0100)]
lavfi/perms: remove unecessary indirection after f7324c06.

6 years agoffmpeg_opt: avoid strcpy()
Michael Niedermayer [Tue, 26 Mar 2013 00:50:23 +0000 (01:50 +0100)]
ffmpeg_opt: avoid strcpy()

This fixes a warning on openbsd and is more robust

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agotools: add audio normalize script example.
Clément Bœsch [Mon, 18 Mar 2013 03:02:51 +0000 (04:02 +0100)]
tools: add audio normalize script example.

6 years agolavfi/curves: add forgotten strong_contrast preset.
Clément Bœsch [Tue, 26 Mar 2013 00:05:26 +0000 (01:05 +0100)]
lavfi/curves: add forgotten strong_contrast preset.

6 years agolavfi/curves: support preset shorthand.
Clément Bœsch [Mon, 25 Mar 2013 23:00:15 +0000 (00:00 +0100)]
lavfi/curves: support preset shorthand.

6 years agolavfi/curves: add presets support.
Clément Bœsch [Mon, 25 Mar 2013 00:19:17 +0000 (01:19 +0100)]
lavfi/curves: add presets support.

Except for the vintage preset, the values are defined by Lou Logan based
on the ones found in Adobe Photoshop CS6.

Signed-off-by: Clément Bœsch <ubitux@gmail.com>
Signed-off-by: Lou Logan <lou@lrcd.com>
6 years agoffserver/ctime1: avoid using strcpy()
Michael Niedermayer [Mon, 25 Mar 2013 22:31:34 +0000 (23:31 +0100)]
ffserver/ctime1: avoid using strcpy()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodshow_pin: dont return a value from a void function
Michael Niedermayer [Mon, 25 Mar 2013 21:12:07 +0000 (22:12 +0100)]
dshow_pin: dont return a value from a void function

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolibpostproc: silence valgrind/fate warning about using uninitialized data
Michael Niedermayer [Mon, 25 Mar 2013 20:48:45 +0000 (21:48 +0100)]
libpostproc: silence valgrind/fate warning about using uninitialized data

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoape: 3.80-3.92 decoding support
Kostya Shishkov [Fri, 15 Mar 2013 20:18:23 +0000 (21:18 +0100)]
ape: 3.80-3.92 decoding support

6 years agoxxan: make code independent of sizeof(AVFrame)
Michael Niedermayer [Sun, 24 Mar 2013 14:14:17 +0000 (15:14 +0100)]
xxan: make code independent of sizeof(AVFrame)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoyop: Fix return type
Michael Niedermayer [Mon, 25 Mar 2013 14:10:39 +0000 (15:10 +0100)]
yop: Fix return type

Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoh264: Remove an unused variable
Martin Storsjö [Mon, 25 Mar 2013 12:27:30 +0000 (14:27 +0200)]
h264: Remove an unused variable

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agoavcodec/gifdec: Add av_log() to workaround gcc 4.2 miscompiling the code
Michael Niedermayer [Mon, 25 Mar 2013 12:32:45 +0000 (13:32 +0100)]
avcodec/gifdec: Add av_log() to workaround gcc 4.2 miscompiling the code

It appears gcc forgets to increment the byte stream pointer at -O3
I was not able to spot a reason/excuse for it to do that. It
also disappears if the function isnt inlined.

This should fix the gif fate failures on open & free bsd

See: [FFmpeg-devel] [PATCH] gifdec: workaround old gcc 4.2 mis-compiling code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoxan: make decoder independent of sizeof(AVFrame)
Michael Niedermayer [Sun, 24 Mar 2013 14:19:37 +0000 (15:19 +0100)]
xan: make decoder independent of sizeof(AVFrame)

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavc/flacdec: Propagate and return meaningful error codes
James Almer [Wed, 20 Mar 2013 07:27:39 +0000 (04:27 -0300)]
lavc/flacdec: Propagate and return meaningful error codes

Signed-off-by: James Almer <jamrial@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoblend: Adding yuvj pixelformats to the blend effect
Björn S [Sun, 24 Mar 2013 12:41:19 +0000 (13:41 +0100)]
blend: Adding yuvj pixelformats to the blend effect

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 25 Mar 2013 11:13:07 +0000 (12:13 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  sndio_dec: Add missing includes for av_gettime()

no change, as this has already been fixed in FFmpeg

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agox86: consistently use unaligned movs in the unaligned bswap
Janne Grunau [Sun, 24 Mar 2013 18:44:23 +0000 (19:44 +0100)]
x86: consistently use unaligned movs in the unaligned bswap

Fixes fate errors in asv1, ffvhuff and huffyuv on x86_32.

6 years agovsrc_testsrc: avoid floats and non bit exactness
Michael Niedermayer [Mon, 25 Mar 2013 02:01:47 +0000 (03:01 +0100)]
vsrc_testsrc: avoid floats and non bit exactness

The round to zero behavior is maintained, possibly this should
be changed to round to nearest.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/utils: initialize pixel buffer pool
Michael Niedermayer [Sun, 24 Mar 2013 01:31:20 +0000 (02:31 +0100)]
avcodec/utils: initialize pixel buffer pool

This should silence many valgrind warnings about use of uninitialized
data, all the warnings i looked at where false positives having their
uninitialized data not actually used.

The same effect could be achieved by listing all code that touches
the pixel buffer in the valgrind suppression file.
Note, valgrind also fails to trace the origins correctly.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavf/mux: add the flush_packets option.
Nicolas George [Tue, 12 Mar 2013 15:54:42 +0000 (16:54 +0100)]
lavf/mux: add the flush_packets option.

Note: a lot of muxers already do the flushing explicitly.

6 years agolavfi: support multiple rounds of format negotiation.
Nicolas George [Thu, 21 Feb 2013 19:21:16 +0000 (20:21 +0100)]
lavfi: support multiple rounds of format negotiation.

Remove the temporary hack for amerge and replace it with a
generic solution.

6 years agolavfi/af_amerge: return EAGAIN if the input layouts are not known.
Nicolas George [Thu, 21 Feb 2013 19:15:32 +0000 (20:15 +0100)]
lavfi/af_amerge: return EAGAIN if the input layouts are not known.

Also downgrade the error to a warning.

6 years agolavfi: add test for concat.
Nicolas George [Thu, 21 Mar 2013 12:42:44 +0000 (13:42 +0100)]
lavfi: add test for concat.

6 years agoh264/field_end move progress report code after error concealment.
Michael Niedermayer [Tue, 19 Feb 2013 19:26:55 +0000 (20:26 +0100)]
h264/field_end move progress report code after error concealment.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/thumbnail: add support for named options.
Clément Bœsch [Sun, 24 Mar 2013 19:32:59 +0000 (20:32 +0100)]
lavfi/thumbnail: add support for named options.

6 years agolavfi/colormatrix: reword error message in init
Stefano Sabatini [Sun, 24 Mar 2013 12:46:15 +0000 (13:46 +0100)]
lavfi/colormatrix: reword error message in init

Change:
"source and destination color space are identical"

which is a true fact, but doesn't tell nothing about what's wrong, to:
"Source and destination color space must not be identical"

which tells more explicitly what the problem is.

6 years agolavfi/colormatrix: add support for named options
Stefano Sabatini [Sun, 24 Mar 2013 12:40:57 +0000 (13:40 +0100)]
lavfi/colormatrix: add support for named options

6 years agolavfi/tinterlace: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 08:18:18 +0000 (09:18 +0100)]
lavfi/tinterlace: use standard options parsing.

6 years agolavfi/subtitles: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 08:17:06 +0000 (09:17 +0100)]
lavfi/subtitles: use standard options parsing.

6 years agolavfi/smartblur: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 08:13:08 +0000 (09:13 +0100)]
lavfi/smartblur: use standard options parsing.

6 years agolavfi/setfield: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 08:11:48 +0000 (09:11 +0100)]
lavfi/setfield: use standard options parsing.

6 years agolavfi/overlay: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 08:10:42 +0000 (09:10 +0100)]
lavfi/overlay: use standard options parsing.

6 years agolavfi/kerndeint: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 08:09:33 +0000 (09:09 +0100)]
lavfi/kerndeint: use standard options parsing.

6 years agolavfi/idet: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 08:08:01 +0000 (09:08 +0100)]
lavfi/idet: use standard options parsing.

6 years agolavfi/histeq: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 08:05:51 +0000 (09:05 +0100)]
lavfi/histeq: use standard options parsing.

6 years agolavfi/gradfun: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 08:04:08 +0000 (09:04 +0100)]
lavfi/gradfun: use standard options parsing.

6 years agolavfi/geq: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 08:03:22 +0000 (09:03 +0100)]
lavfi/geq: use standard options parsing.

6 years agolavfi/fieldorder: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 08:02:10 +0000 (09:02 +0100)]
lavfi/fieldorder: use standard options parsing.

6 years agolavfi/field: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 08:01:07 +0000 (09:01 +0100)]
lavfi/field: use standard options parsing.

6 years agolavfi/deshake: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 07:59:25 +0000 (08:59 +0100)]
lavfi/deshake: use standard options parsing.

6 years agolavfi/cropdetect: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 07:57:56 +0000 (08:57 +0100)]
lavfi/cropdetect: use standard options parsing.

6 years agolavfi/boxblur: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 07:56:02 +0000 (08:56 +0100)]
lavfi/boxblur: use standard options parsing.

6 years agolavfi/blackframe: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 07:53:38 +0000 (08:53 +0100)]
lavfi/blackframe: use standard options parsing.

6 years agolavfi/settb: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 07:50:52 +0000 (08:50 +0100)]
lavfi/settb: use standard options parsing.

6 years agolavfi/select: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 07:45:32 +0000 (08:45 +0100)]
lavfi/select: use standard options parsing.

6 years agolavfi/perms: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 07:42:10 +0000 (08:42 +0100)]
lavfi/perms: use standard options parsing.

6 years agolavfi/sine: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 07:40:38 +0000 (08:40 +0100)]
lavfi/sine: use standard options parsing.

6 years agolavfi/apad: use standard options parsing.
Clément Bœsch [Sun, 24 Mar 2013 07:39:00 +0000 (08:39 +0100)]
lavfi/apad: use standard options parsing.

6 years agosndio_dec: Add missing includes for av_gettime()
Martin Storsjö [Sun, 24 Mar 2013 10:11:58 +0000 (12:11 +0200)]
sndio_dec: Add missing includes for av_gettime()

This is necessary after the old av_gettime in libavformat was
dropped.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 24 Mar 2013 10:51:46 +0000 (11:51 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  x86: Change a missed occurrance of int to ptrdiff_t for strides
  x86: Remove win64 xmm clobbering wrappers for the now removed avcodec_encode_video function
  bktr: Add missing includes for av_gettime()
  fate: use little endian yuv444p10 in h264-reinit tests

Nothing changes through this merge as the 3 bugfixes already exist
in ffmpeg and the clobbering wraper is still in use as we did not
yet remove avcodec_encode_video

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agox86: Change a missed occurrance of int to ptrdiff_t for strides
Martin Storsjö [Sat, 23 Mar 2013 21:35:19 +0000 (23:35 +0200)]
x86: Change a missed occurrance of int to ptrdiff_t for strides

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Sun, 24 Mar 2013 03:35:40 +0000 (04:35 +0100)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: avoid frame data leak on early frame drop

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agorawdec: fix memleak
Michael Niedermayer [Sun, 24 Mar 2013 03:09:04 +0000 (04:09 +0100)]
rawdec: fix memleak

Fixes fate-lavf-flm under valgrind

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavutil/buffer: remove redundant memory poisoning
Michael Niedermayer [Sun, 24 Mar 2013 01:21:42 +0000 (02:21 +0100)]
avutil/buffer: remove redundant memory poisoning

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavutil/buffer: support memory poisoning
Michael Niedermayer [Sun, 24 Mar 2013 00:44:48 +0000 (01:44 +0100)]
avutil/buffer: support memory poisoning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoyop: use reget_buffer() as the previous contents are used
Michael Niedermayer [Sun, 24 Mar 2013 00:41:49 +0000 (01:41 +0100)]
yop: use reget_buffer() as the previous contents are used

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agofate: dont try to filter partial frames with yadif.
Michael Niedermayer [Sun, 24 Mar 2013 00:30:11 +0000 (01:30 +0100)]
fate: dont try to filter partial frames with yadif.

The partial frames leak a few uninitialized pixels through
due to incomplete interlaced error concealment support.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agobuffersink/uninit: use av_frame_free() not unref
Michael Niedermayer [Sat, 23 Mar 2013 22:49:33 +0000 (23:49 +0100)]
buffersink/uninit: use av_frame_free() not unref

Fixes memleak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agox86: Remove win64 xmm clobbering wrappers for the now removed avcodec_encode_video...
Martin Storsjö [Sat, 23 Mar 2013 20:12:54 +0000 (22:12 +0200)]
x86: Remove win64 xmm clobbering wrappers for the now removed avcodec_encode_video function

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agobktr: Add missing includes for av_gettime()
Martin Storsjö [Sat, 23 Mar 2013 20:16:37 +0000 (22:16 +0200)]
bktr: Add missing includes for av_gettime()

This is necessary after the old av_gettime in libavformat was
dropped.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agofate: use little endian yuv444p10 in h264-reinit tests
Janne Grunau [Sat, 23 Mar 2013 12:15:17 +0000 (13:15 +0100)]
fate: use little endian yuv444p10 in h264-reinit tests

Fixes fate big endian configs.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoh264: dont report rows as finished after a missing slice
Michael Niedermayer [Tue, 19 Feb 2013 19:48:02 +0000 (20:48 +0100)]
h264: dont report rows as finished after a missing slice

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/anullsrc: add missing checks
Stefano Sabatini [Fri, 22 Mar 2013 00:43:43 +0000 (01:43 +0100)]
lavfi/anullsrc: add missing checks

6 years agolavfi/anullsrc: remove extra parentheses
Stefano Sabatini [Fri, 22 Mar 2013 00:42:12 +0000 (01:42 +0100)]
lavfi/anullsrc: remove extra parentheses

6 years agolavfi/anullsrc: simplify logging code in config_props
Stefano Sabatini [Fri, 22 Mar 2013 00:39:48 +0000 (01:39 +0100)]
lavfi/anullsrc: simplify logging code in config_props

6 years agolavfi/anullsrc: fix format negotiation
Stefano Sabatini [Fri, 22 Mar 2013 00:35:13 +0000 (01:35 +0100)]
lavfi/anullsrc: fix format negotiation

Samplerate and channel layouts must be set in query_formats.

6 years agomips: Optimization of AAC psychoacoustic model functions
Bojan Zivkovic [Wed, 6 Mar 2013 13:55:04 +0000 (14:55 +0100)]
mips: Optimization of AAC psychoacoustic model functions

Signed-off-by: Bojan Zivkovic <bojan@mips.com>
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolibspeex: support ZygoAudio (quality 10 mode)
Piotr Bandurski [Wed, 16 Jan 2013 18:32:54 +0000 (19:32 +0100)]
libspeex: support ZygoAudio (quality 10 mode)

Fixes "quality 10" mode from Ticket1873

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavd/v4l2: honor previously selected input channel
Giorgio Vazzana [Tue, 19 Mar 2013 18:09:38 +0000 (19:09 +0100)]
lavd/v4l2: honor previously selected input channel

An input channel could have been previously set with another application, like
v4l2-ctl, so if no input channel is specified use the previosly selected one.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMake audio FIFO read/write contracts more strict
Michael Bradshaw [Sat, 9 Mar 2013 05:48:43 +0000 (22:48 -0700)]
Make audio FIFO read/write contracts more strict

Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>