]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agolavfi/select: correctly set prev_t and prev_pts
Stefano Sabatini [Thu, 7 Feb 2013 20:16:11 +0000 (21:16 +0100)]
lavfi/select: correctly set prev_t and prev_pts

In particular, fix trac ticket #2248.

11 years agolavfi/select: avoid double -> int lossy conversion in debug log
Stefano Sabatini [Thu, 7 Feb 2013 20:00:54 +0000 (21:00 +0100)]
lavfi/select: avoid double -> int lossy conversion in debug log

11 years agodoc/filters: remove another instance of '×'
Stefano Sabatini [Thu, 7 Feb 2013 19:28:30 +0000 (20:28 +0100)]
doc/filters: remove another instance of '×'

Fix trac ticket #2247.

11 years agoaf_biquad: avoid subtraction in loop
Michael Niedermayer [Thu, 7 Feb 2013 18:39:08 +0000 (19:39 +0100)]
af_biquad: avoid subtraction in loop

17% faster
Note the speedup is smaller if its done before
storing in the context (gcc 4.6.3 core i7)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoaf_biquad: unroll loop, remove variable copies
Michael Niedermayer [Thu, 7 Feb 2013 18:03:22 +0000 (19:03 +0100)]
af_biquad: unroll loop, remove variable copies

This makes the code about 7% faster

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agosws: dont write out of array on bigendian
Michael Niedermayer [Thu, 7 Feb 2013 15:11:23 +0000 (16:11 +0100)]
sws: dont write out of array on bigendian

Fixes Ticket2229

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agox86/dsputil: Fix author attribution after code has been moved/splited around
Michael Niedermayer [Thu, 7 Feb 2013 14:00:29 +0000 (15:00 +0100)]
x86/dsputil: Fix author attribution after code has been moved/splited around

Reference:
commit 3615e2be846f6382aa42360d02d16b25f443af9f
Author: Michael Niedermayer <michaelni@gmx.at>
Date:   Tue Dec 2 22:02:57 2003 +0000

    h263_h_loop_filter_mmx

    Originally committed as revision 2553 to svn://svn.ffmpeg.org/ffmpeg/trunk

commit 359f98ded95ec65f7109b25f3cfaa9189c4fab9c
Author: Michael Niedermayer <michaelni@gmx.at>
Date:   Tue Dec 2 20:28:10 2003 +0000

    h263_v_loop_filter_mmx

    Originally committed as revision 2552 to svn://svn.ffmpeg.org/ffmpeg/trunk

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 7 Feb 2013 13:35:36 +0000 (14:35 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  dsputil: x86: Fix compile error
  dsputil: x86: Convert h263 loop filter to yasm

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '12b54a1f39fee22fa0399825ae47a43e60bad4c5'
Michael Niedermayer [Thu, 7 Feb 2013 13:28:26 +0000 (14:28 +0100)]
Merge commit '12b54a1f39fee22fa0399825ae47a43e60bad4c5'

* commit '12b54a1f39fee22fa0399825ae47a43e60bad4c5':
  mpegvideo: remove an unused function parameter

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '605b047bcc48482dc8a356f56629da259fbddbf1'
Michael Niedermayer [Thu, 7 Feb 2013 13:02:19 +0000 (14:02 +0100)]
Merge commit '605b047bcc48482dc8a356f56629da259fbddbf1'

* commit '605b047bcc48482dc8a356f56629da259fbddbf1':
  rv10: improve buffer size check.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoerror_resilience: assert that unsupported B frame interpolation isnt used with h264
Michael Niedermayer [Thu, 7 Feb 2013 12:54:06 +0000 (13:54 +0100)]
error_resilience: assert that unsupported B frame interpolation isnt used with h264

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c5fcdb440237f06f6c954185ab60970cabf786a2'
Michael Niedermayer [Thu, 7 Feb 2013 12:48:56 +0000 (13:48 +0100)]
Merge commit 'c5fcdb440237f06f6c954185ab60970cabf786a2'

* commit 'c5fcdb440237f06f6c954185ab60970cabf786a2':
  error_resilience: remove a useless if() and FIXME
  h264: remove silly macros

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ca1fe6c0e60808da45d4dfd8728f45e843b9f9b0'
Michael Niedermayer [Thu, 7 Feb 2013 12:42:56 +0000 (13:42 +0100)]
Merge commit 'ca1fe6c0e60808da45d4dfd8728f45e843b9f9b0'

* commit 'ca1fe6c0e60808da45d4dfd8728f45e843b9f9b0':
  h263: remove an unused parameter from ff_h263_decode_init_vlc
  flac: add channel layout masks for streams with 7 or 8 channels.
  flac: don't check the number of channels before setting the channel layout.

Conflicts:
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'a846dccb29d2bb0798af1d47d06100eda9ca87cc'
Michael Niedermayer [Thu, 7 Feb 2013 12:35:49 +0000 (13:35 +0100)]
Merge commit 'a846dccb29d2bb0798af1d47d06100eda9ca87cc'

* commit 'a846dccb29d2bb0798af1d47d06100eda9ca87cc':
  h264chroma: x86: Fix building with yasm disabled
  rv34: Drop now unnecessary dsputil dependencies

Conflicts:
libavcodec/x86/Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '79dad2a932534d1155079f937649e099f9e5cc27'
Michael Niedermayer [Thu, 7 Feb 2013 12:09:35 +0000 (13:09 +0100)]
Merge commit '79dad2a932534d1155079f937649e099f9e5cc27'

* commit '79dad2a932534d1155079f937649e099f9e5cc27':
  dsputil: Separate h264chroma

Conflicts:
libavcodec/dsputil_template.c
libavcodec/ppc/dsputil_ppc.c
libavcodec/vc1dec.c
libavcodec/vc1dsp.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi: fix missing space in error message.
Nicolas George [Wed, 6 Feb 2013 13:22:43 +0000 (14:22 +0100)]
lavfi: fix missing space in error message.

11 years agolavfi: remove disabled code.
Nicolas George [Wed, 6 Feb 2013 13:22:15 +0000 (14:22 +0100)]
lavfi: remove disabled code.

11 years agomov: remove unused function
Michael Niedermayer [Wed, 6 Feb 2013 21:48:59 +0000 (22:48 +0100)]
mov: remove unused function

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoflac: don't check the number of channels before setting the channel layout
Tim Walker [Thu, 7 Feb 2013 09:36:21 +0000 (09:36 +0000)]
flac: don't check the number of channels before setting the channel layout

This is unnecessary, as ff_flac_set_channel_layout can handle any number of channels.

11 years agodsputil: x86: Fix compile error
Daniel Kang [Thu, 7 Feb 2013 03:25:12 +0000 (22:25 -0500)]
dsputil: x86: Fix compile error

Accidentally prefixed ff_ with cextern.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agodsputil: x86: Convert h263 loop filter to yasm
Daniel Kang [Wed, 6 Feb 2013 18:05:43 +0000 (18:05 +0000)]
dsputil: x86: Convert h263 loop filter to yasm

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agodoc: replace '×' symbol with 'x'
Stefano Sabatini [Wed, 6 Feb 2013 21:40:18 +0000 (22:40 +0100)]
doc: replace '×' symbol with 'x'

Non-ascii chars are not correctly rendered in both MAN and HTML output or
may even cause compilation failure. Thus avoid to use them until we find
a satisfying way to deal with them.

Fix trac ticket #2243.

11 years agolavf/segment: fix DTS inconsistencies with -reset_timestamps
Stefano Sabatini [Tue, 5 Feb 2013 23:19:52 +0000 (00:19 +0100)]
lavf/segment: fix DTS inconsistencies with -reset_timestamps

The DTS needs to be resynched against the segment start PTS, or the
resulting DTS may result < PTS.

Reported-by: Owen Jones <riots6@gmail.com>
See thread:
Subject: [FFmpeg-user] pts/dts error using reset_timestamps while splitting a DVD
Date: Sat, 19 Jan 2013 08:58:27 +0000

11 years agolavf/mov: skip version and flags attributes in mov_read_chan function
Matthieu Bouron [Mon, 4 Feb 2013 21:06:11 +0000 (22:06 +0100)]
lavf/mov: skip version and flags attributes in mov_read_chan function

Fixes ticket #1764.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegvideo: remove an unused function parameter
Anton Khirnov [Sun, 3 Feb 2013 12:13:00 +0000 (13:13 +0100)]
mpegvideo: remove an unused function parameter

11 years agorv10: improve buffer size check.
Anton Khirnov [Sun, 3 Feb 2013 07:42:02 +0000 (08:42 +0100)]
rv10: improve buffer size check.

Check slice count and input buffer size before constructing a possibly
invalid pointer, not after.

11 years agoerror_resilience: remove a useless if() and FIXME
Anton Khirnov [Sat, 2 Feb 2013 16:23:19 +0000 (17:23 +0100)]
error_resilience: remove a useless if() and FIXME

pp_time is never set for h264

11 years agoh264: remove silly macros
Anton Khirnov [Mon, 4 Feb 2013 13:46:55 +0000 (14:46 +0100)]
h264: remove silly macros

They serve no useful purpose and wreak all kind of havoc when h264.h is
included elsewhere.

11 years agoh263: remove an unused parameter from ff_h263_decode_init_vlc
Anton Khirnov [Sun, 3 Feb 2013 07:32:39 +0000 (08:32 +0100)]
h263: remove an unused parameter from ff_h263_decode_init_vlc

11 years agoflac: add channel layout masks for streams with 7 or 8 channels.
Tim Walker [Tue, 22 Jan 2013 20:53:54 +0000 (21:53 +0100)]
flac: add channel layout masks for streams with 7 or 8 channels.

They were added to the latest FLAC specification:
https://git.xiph.org/?p=flac-website.git;a=commit;h=65c199a2

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoflac: don't check the number of channels before setting the channel layout.
Tim Walker [Tue, 22 Jan 2013 20:53:53 +0000 (21:53 +0100)]
flac: don't check the number of channels before setting the channel layout.

This is unnecessary, as ff_flac_set_channel_layout can handle any number of channels.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoMerge remote-tracking branch 'rdp/combined2'
Michael Niedermayer [Wed, 6 Feb 2013 19:14:09 +0000 (20:14 +0100)]
Merge remote-tracking branch 'rdp/combined2'

* rdp/combined2:
  dshow: allow for more codec ID's
  dshow: better error reporting
  dshow: fix log message

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoframecrcenc: print all side data elements, not just the first
Michael Niedermayer [Wed, 6 Feb 2013 17:17:27 +0000 (18:17 +0100)]
framecrcenc: print all side data elements, not just the first

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoframecrcenc: Also print the size of side data elements
Michael Niedermayer [Wed, 6 Feb 2013 17:17:03 +0000 (18:17 +0100)]
framecrcenc: Also print the size of side data elements

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoFate test to print side_data crc if present
Vignesh Venkatasubramanian [Tue, 5 Feb 2013 20:10:21 +0000 (12:10 -0800)]
Fate test to print side_data crc if present

Modified the fate test crc generator to print the side_data's
crc if side_data is present.

Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 6 Feb 2013 15:59:32 +0000 (16:59 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  mpegvideo: initialize dummy reference frames.

Conflicts:
libavcodec/mpegvideo.c
tests/ref/fate/filter-yadif-mode1

The luma init is left at 0x80 as it was previously, and tested and
working since a long time. Its also mandated to be 0x80 by at least
one specification. Cases that need different values already had
code in place to handle them.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoqtrle: fix 1bit row_ptr comment
Michael Niedermayer [Wed, 6 Feb 2013 15:46:23 +0000 (16:46 +0100)]
qtrle: fix 1bit row_ptr comment

Found-by: aballier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'dff6197dfb9b2d145729885c63f865c5fdd184aa'
Michael Niedermayer [Wed, 6 Feb 2013 15:36:08 +0000 (16:36 +0100)]
Merge commit 'dff6197dfb9b2d145729885c63f865c5fdd184aa'

* commit 'dff6197dfb9b2d145729885c63f865c5fdd184aa':
  nuv: do not rely on get_buffer() initializing the frame.
  yop: initialize palette to 0

Conflicts:
libavcodec/nuv.c
tests/ref/fate/nuv-rtjpeg-fh
tests/ref/fate/yop

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '8136f234445862c94d1c081606b2d1e3d44fccf3'
Michael Niedermayer [Wed, 6 Feb 2013 15:09:25 +0000 (16:09 +0100)]
Merge commit '8136f234445862c94d1c081606b2d1e3d44fccf3'

* commit '8136f234445862c94d1c081606b2d1e3d44fccf3':
  yop: check for input overreads.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264chroma: x86: Fix building with yasm disabled
Martin Storsjö [Wed, 6 Feb 2013 14:34:39 +0000 (16:34 +0200)]
h264chroma: x86: Fix building with yasm disabled

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoMerge commit '06cf597c352519d2b70f293518c61b8c312f5d4f'
Michael Niedermayer [Wed, 6 Feb 2013 15:05:06 +0000 (16:05 +0100)]
Merge commit '06cf597c352519d2b70f293518c61b8c312f5d4f'

* commit '06cf597c352519d2b70f293518c61b8c312f5d4f':
  yop: check that extradata is large enough.

Conflicts:
libavcodec/yop.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '89f11f498b9c15bc71494a11a7ec560f4adf630d'
Michael Niedermayer [Wed, 6 Feb 2013 14:56:24 +0000 (15:56 +0100)]
Merge commit '89f11f498b9c15bc71494a11a7ec560f4adf630d'

* commit '89f11f498b9c15bc71494a11a7ec560f4adf630d':
  qtrle: fix the topmost line for 1bit

Conflicts:
tests/ref/fate/qtrle-1bit

See: 1af91978dbab35ba9fdede187577c00d643ae33b

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '685e6f2e3939f124b41c7801cc541dad8252af3d'
Michael Niedermayer [Wed, 6 Feb 2013 14:26:24 +0000 (15:26 +0100)]
Merge commit '685e6f2e3939f124b41c7801cc541dad8252af3d'

* commit '685e6f2e3939f124b41c7801cc541dad8252af3d':
  xxan: properly handle odd heights.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '2cd4068071b9a8908823a3107f97e938211045ce'
Michael Niedermayer [Wed, 6 Feb 2013 14:21:39 +0000 (15:21 +0100)]
Merge commit '2cd4068071b9a8908823a3107f97e938211045ce'

* commit '2cd4068071b9a8908823a3107f97e938211045ce':
  fraps: fix off-by one bug for version 1.

Conflicts:
libavcodec/fraps.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'da7baaaae79b4d7d715d35ea6bcfbdd149edc177'
Michael Niedermayer [Wed, 6 Feb 2013 14:11:14 +0000 (15:11 +0100)]
Merge commit 'da7baaaae79b4d7d715d35ea6bcfbdd149edc177'

* commit 'da7baaaae79b4d7d715d35ea6bcfbdd149edc177':
  aasc: fix output for msrle compression.
  msrledec: check bounds before constructing a possibly invalid pointer,
  cmdutils: remove ansi from the list of broken codecs.

Conflicts:
tests/ref/fate/aasc

Also See: e7117f1c1058d41eb759d1613e849c29b15c85b5

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '238614de679a71970c20d7c3fee08a322967ec40'
Michael Niedermayer [Wed, 6 Feb 2013 13:53:49 +0000 (14:53 +0100)]
Merge commit '238614de679a71970c20d7c3fee08a322967ec40'

* commit '238614de679a71970c20d7c3fee08a322967ec40':
  cdgraphics: do not rely on get_buffer() initializing the frame.
  svq1: replace struct svq1_frame_size with an array.
  vf_yadif: silence a warning.

Conflicts:
libavcodec/svq1dec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '48a4ffa722c0874b251de9d201babed52cef0bcb'
Michael Niedermayer [Wed, 6 Feb 2013 13:10:26 +0000 (14:10 +0100)]
Merge commit '48a4ffa722c0874b251de9d201babed52cef0bcb'

* commit '48a4ffa722c0874b251de9d201babed52cef0bcb':
  asf: K&R formatting cosmetics
  vc1dec: use codec_id instead of codec_tag for VC1IMAGE
  sh4: drop unused functions

Conflicts:
libavformat/asf.c
libavformat/asfdec.c
libavformat/asfenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoflac: add channel layout masks for streams with 7 or 8 channels
Tim Walker [Wed, 6 Feb 2013 12:53:15 +0000 (12:53 +0000)]
flac: add channel layout masks for streams with 7 or 8 channels

They were added to the latest FLAC specification:
https://git.xiph.org/?p=flac-website.git;a=commit;h=65c199a2

11 years agolavc/bink: Chech for malloc failure
James Almer [Wed, 6 Feb 2013 01:34:29 +0000 (22:34 -0300)]
lavc/bink: Chech for malloc failure

Signed-off-by: James Almer <jamrial@gmail.com>
11 years agoMerge commit '620289a20e022b9c16c10d546ef86cc0bb77cc84'
Michael Niedermayer [Wed, 6 Feb 2013 12:27:24 +0000 (13:27 +0100)]
Merge commit '620289a20e022b9c16c10d546ef86cc0bb77cc84'

* commit '620289a20e022b9c16c10d546ef86cc0bb77cc84':
  sh4: Fix silly type vs. variable name search and replace typo
  configure: Group all hwaccels together in a separate variable
  Add av_cold attributes to arch-specific init functions

Conflicts:
configure
libavcodec/arm/mpegvideo_armv5te.c
libavcodec/x86/mlpdsp.c
libavcodec/x86/motion_est.c
libavcodec/x86/mpegvideoenc.c
libavcodec/x86/videodsp_init.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodsputil: fixup half a dozen bugs with ptrdiff vs int linesize
Michael Niedermayer [Wed, 6 Feb 2013 12:16:31 +0000 (13:16 +0100)]
dsputil: fixup half a dozen bugs with ptrdiff vs int linesize

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '25841dfe806a13de526ae09c11149ab1f83555a8'
Michael Niedermayer [Wed, 6 Feb 2013 11:18:25 +0000 (12:18 +0100)]
Merge commit '25841dfe806a13de526ae09c11149ab1f83555a8'

* commit '25841dfe806a13de526ae09c11149ab1f83555a8':
  Use ptrdiff_t instead of int for {avg, put}_pixels line_size parameter.

Conflicts:
libavcodec/alpha/dsputil_alpha.c
libavcodec/dsputil_template.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agorv34: Drop now unnecessary dsputil dependencies
Diego Biurrun [Fri, 18 Jan 2013 22:58:47 +0000 (23:58 +0100)]
rv34: Drop now unnecessary dsputil dependencies

11 years agodsputil: Separate h264chroma
Diego Biurrun [Sat, 19 Jan 2013 02:34:47 +0000 (03:34 +0100)]
dsputil: Separate h264chroma

11 years agompegvideo: initialize dummy reference frames.
Anton Khirnov [Wed, 30 Jan 2013 15:37:31 +0000 (16:37 +0100)]
mpegvideo: initialize dummy reference frames.

Do not rely on get_buffer initializing them.

Changes yadif tests (off by one in one border pixel), because yadif
reads from those uninitialized lines.

11 years agonuv: do not rely on get_buffer() initializing the frame.
Anton Khirnov [Wed, 30 Jan 2013 14:04:51 +0000 (15:04 +0100)]
nuv: do not rely on get_buffer() initializing the frame.

11 years agoyop: check for input overreads.
Anton Khirnov [Wed, 30 Jan 2013 06:15:04 +0000 (07:15 +0100)]
yop: check for input overreads.

CC:libav-stable@libav.org

11 years agoyop: check that extradata is large enough.
Anton Khirnov [Wed, 30 Jan 2013 06:00:50 +0000 (07:00 +0100)]
yop: check that extradata is large enough.

CC:libav-stable@libav.org

11 years agoqtrle: fix the topmost line for 1bit
Kostya Shishkov [Wed, 30 Jan 2013 05:42:17 +0000 (06:42 +0100)]
qtrle: fix the topmost line for 1bit

Signed-off-by: Anton Khirnov <anton@khirnov.net>
CC:libav-stable@libav.org

11 years agoxxan: properly handle odd heights.
Kostya Shishkov [Tue, 29 Jan 2013 18:53:04 +0000 (19:53 +0100)]
xxan: properly handle odd heights.

Duplicate the last one or two chroma lines.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
CC:libav-stable@libav.org

11 years agofraps: fix off-by one bug for version 1.
Anton Khirnov [Tue, 29 Jan 2013 16:19:08 +0000 (17:19 +0100)]
fraps: fix off-by one bug for version 1.

CC:libav-stable@libav.org

11 years agoaasc: fix output for msrle compression.
Anton Khirnov [Tue, 29 Jan 2013 11:42:54 +0000 (12:42 +0100)]
aasc: fix output for msrle compression.

The bottom line was invalid before.

CC:libav-stable@libav.org

11 years agocdgraphics: do not rely on get_buffer() initializing the frame.
Anton Khirnov [Sat, 26 Jan 2013 21:02:19 +0000 (22:02 +0100)]
cdgraphics: do not rely on get_buffer() initializing the frame.

Setting it to zero (instead of 128, as the default get_buffer() does)
also produces more correctly-looking output.

11 years agoyop: initialize palette to 0
Anton Khirnov [Wed, 30 Jan 2013 13:33:53 +0000 (14:33 +0100)]
yop: initialize palette to 0

The FATE sample contains some pixels with value 0, but the palette
stored in the file contains only values from 16 up. Because the default
and cmdutils get_buffer() initialize the data to 0x80, they appear as
gray dots.
After this commit they change to black dots, which is probably still
incorrect but less visible and doesn't rely on get_buffer() initializing
the data.

11 years agomsrledec: check bounds before constructing a possibly invalid pointer,
Anton Khirnov [Tue, 29 Jan 2013 11:24:09 +0000 (12:24 +0100)]
msrledec: check bounds before constructing a possibly invalid pointer,

CC:libav-stable@libav.org

11 years agosvq1: replace struct svq1_frame_size with an array.
Anton Khirnov [Sat, 26 Jan 2013 20:10:54 +0000 (21:10 +0100)]
svq1: replace struct svq1_frame_size with an array.

It is used as an array in svq1enc, so this is more correct.

11 years agocmdutils: remove ansi from the list of broken codecs.
Anton Khirnov [Sat, 26 Jan 2013 21:04:49 +0000 (22:04 +0100)]
cmdutils: remove ansi from the list of broken codecs.

It's not relying on get_buffer() initializing the frame since
99e36ddd3ee57c38e6ca9e240ba518848487f849.

11 years agovf_yadif: silence a warning.
Anton Khirnov [Sat, 26 Jan 2013 19:49:16 +0000 (20:49 +0100)]
vf_yadif: silence a warning.

clang says:
libavfilter/vf_yadif.c:192:28: warning: incompatible pointer types assigning to
'void (*)(uint8_t *, uint8_t *, uint8_t *, uint8_t *, int, int, int, int, int)'
from 'void (uint16_t *, uint16_t *, uint16_t *, uint16_t *, int, int, int, int, int)'

11 years agoasf: K&R formatting cosmetics
Diego Biurrun [Tue, 5 Feb 2013 23:44:00 +0000 (00:44 +0100)]
asf: K&R formatting cosmetics

11 years agovc1dec: use codec_id instead of codec_tag for VC1IMAGE
Vladimir Pantelic [Tue, 5 Feb 2013 12:31:43 +0000 (13:31 +0100)]
vc1dec: use codec_id instead of codec_tag for VC1IMAGE

the rest of the code is using codec_id everywhere already

Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
11 years agoffmpeg: do not call exit from exit_program()
Michael Niedermayer [Wed, 6 Feb 2013 03:03:52 +0000 (04:03 +0100)]
ffmpeg: do not call exit from exit_program()

This should fix  Ticket2116

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agovdpau: Rename union, avoid name conflict with vdpau
Michael Niedermayer [Tue, 5 Feb 2013 19:17:42 +0000 (20:17 +0100)]
vdpau: Rename union, avoid name conflict with vdpau

Fixes Ticket2203

Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: dont allow -flags to override -pass
Michael Niedermayer [Wed, 6 Feb 2013 00:25:52 +0000 (01:25 +0100)]
ffmpeg: dont allow -flags to override -pass

Fixes Ticket2154

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf/segment: extend PTS debugging log with -reset_timestamps
Stefano Sabatini [Tue, 5 Feb 2013 11:25:24 +0000 (12:25 +0100)]
lavf/segment: extend PTS debugging log with -reset_timestamps

11 years agoffplay: report video frame changes only in debug mode
Stefano Sabatini [Sun, 3 Feb 2013 21:26:55 +0000 (22:26 +0100)]
ffplay: report video frame changes only in debug mode

In particular, remove distracting message:
"Video frame changed from size:0x0 format:none serial:-1 to ..."

11 years agoffplay: extend feedback in case of video changes
Stefano Sabatini [Sun, 3 Feb 2013 21:25:24 +0000 (22:25 +0100)]
ffplay: extend feedback in case of video changes

11 years agosh4: drop unused functions
Luca Barbato [Tue, 5 Feb 2013 21:56:24 +0000 (22:56 +0100)]
sh4: drop unused functions

{avg,put}_pixels4_c are not used.

11 years agodvenc: dont fail hard if the timecode is invalid
Michael Niedermayer [Tue, 5 Feb 2013 21:57:35 +0000 (22:57 +0100)]
dvenc: dont fail hard if the timecode is invalid

Instead just dont store the timecode
Fixes Ticket2187

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agosh4: Fix silly type vs. variable name search and replace typo
Diego Biurrun [Tue, 5 Feb 2013 21:26:57 +0000 (22:26 +0100)]
sh4: Fix silly type vs. variable name search and replace typo

11 years agomovtextenc: fix pointer messup and out of array accesses
Michael Niedermayer [Tue, 5 Feb 2013 20:54:02 +0000 (21:54 +0100)]
movtextenc: fix pointer messup and out of array accesses

Fixes Ticket2187

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'rdp/combined'
Michael Niedermayer [Tue, 5 Feb 2013 20:00:46 +0000 (21:00 +0100)]
Merge remote-tracking branch 'rdp/combined'

* rdp/combined:
  hdyc col
  dshow: use standardized raw pixel format lookup

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoljpegenc: allocate needed scratch-buffer
Michael Niedermayer [Tue, 5 Feb 2013 17:52:07 +0000 (18:52 +0100)]
ljpegenc: allocate needed scratch-buffer

Fixes null pointer dereference
Fixes Ticket2207

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoriff: fix infinite loop
Michael Niedermayer [Tue, 5 Feb 2013 17:31:27 +0000 (18:31 +0100)]
riff: fix infinite loop

Fixes Ticket2241

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoconfigure: Group all hwaccels together in a separate variable
Diego Biurrun [Tue, 5 Feb 2013 14:32:24 +0000 (15:32 +0100)]
configure: Group all hwaccels together in a separate variable

11 years agoAdd av_cold attributes to arch-specific init functions
Diego Biurrun [Fri, 1 Feb 2013 09:31:59 +0000 (10:31 +0100)]
Add av_cold attributes to arch-specific init functions

11 years agolibmpcodecs/vd_ffmpeg.h: remove, its unused and removed upstream
Michael Niedermayer [Tue, 5 Feb 2013 14:49:34 +0000 (15:49 +0100)]
libmpcodecs/vd_ffmpeg.h: remove, its unused and removed upstream

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibmpcodecs/vf_pullup: update to latest version from mplayer
multiple authors [Tue, 5 Feb 2013 13:17:54 +0000 (14:17 +0100)]
libmpcodecs/vf_pullup: update to latest version from mplayer

Please see mplayer svn for authorship and individual commits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibmpcodecs/vf_uspp: update to latest version from mplayer
multiple authors [Tue, 5 Feb 2013 13:17:54 +0000 (14:17 +0100)]
libmpcodecs/vf_uspp: update to latest version from mplayer

Please see mplayer svn for authorship and individual commits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibmpcodecs/vf_unsharp: update to latest version from mplayer
multiple authors [Tue, 5 Feb 2013 13:17:54 +0000 (14:17 +0100)]
libmpcodecs/vf_unsharp: update to latest version from mplayer

Please see mplayer svn for authorship and individual commits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibmpcodecs/vf_spp: update to latest version from mplayer
multiple authors [Tue, 5 Feb 2013 13:17:54 +0000 (14:17 +0100)]
libmpcodecs/vf_spp: update to latest version from mplayer

Please see mplayer svn for authorship and individual commits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibmpcodecs/vf_sab: update to latest version from mplayer
multiple authors [Tue, 5 Feb 2013 13:17:54 +0000 (14:17 +0100)]
libmpcodecs/vf_sab: update to latest version from mplayer

Please see mplayer svn for authorship and individual commits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibmpcodecs/pullup: update to latest version from mplayer
multiple authors [Tue, 5 Feb 2013 13:17:54 +0000 (14:17 +0100)]
libmpcodecs/pullup: update to latest version from mplayer

Please see mplayer svn for authorship and individual commits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibmpcodecs/vf_noise: update to latest version from mplayer
multiple authors [Tue, 5 Feb 2013 13:17:54 +0000 (14:17 +0100)]
libmpcodecs/vf_noise: update to latest version from mplayer

Please see mplayer svn for authorship and individual commits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibmpcodecs/vf_pp7:update to latest version from mplayer
multiple authors [Tue, 5 Feb 2013 13:17:28 +0000 (14:17 +0100)]
libmpcodecs/vf_pp7:update to latest version from mplayer

Please see mplayer svn for authorship and individual commits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibmpcodecs/vf_qp: update to latest version from mplayer
multiple authors [Tue, 5 Feb 2013 13:16:47 +0000 (14:16 +0100)]
libmpcodecs/vf_qp: update to latest version from mplayer

Please see mplayer svn for authorship and individual commits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibmpcodecs/vf_mcdeint: update to latest version from mplayer
multiple authors [Tue, 5 Feb 2013 13:00:20 +0000 (14:00 +0100)]
libmpcodecs/vf_mcdeint: update to latest version from mplayer

Please see mplayer svn for authorship and individual commits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibmpcodecs/vf_ilpack: update to latest version from mplayer
multiple authors [Tue, 5 Feb 2013 12:59:47 +0000 (13:59 +0100)]
libmpcodecs/vf_ilpack: update to latest version from mplayer

Please see mplayer svn for authorship and individual commits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibmpcodecs/vf_ivtc: update to latest version from mplayer
multiple authors [Tue, 5 Feb 2013 12:59:10 +0000 (13:59 +0100)]
libmpcodecs/vf_ivtc: update to latest version from mplayer

Please see mplayer svn for authorship and individual commits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibmpcodecs/vf_fspp: update to latest version from mplayer
multiple authors [Tue, 5 Feb 2013 12:43:51 +0000 (13:43 +0100)]
libmpcodecs/vf_fspp: update to latest version from mplayer

Please see mplayer svn for authorship and individual commits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibmpcodecs/av_helpers: update to latest version from mplayer
multiple authors [Tue, 5 Feb 2013 12:42:14 +0000 (13:42 +0100)]
libmpcodecs/av_helpers: update to latest version from mplayer

Please see mplayer svn for authorship and individual commits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>