platform/upstream/libav.git
11 years agolibgsm: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 23:40:50 +0000 (18:40 -0500)]
libgsm: decode directly to the user-provided AVFrame

11 years agolibilbc: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 23:05:53 +0000 (18:05 -0500)]
libilbc: decode directly to the user-provided AVFrame

11 years agodpcm: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 23:03:43 +0000 (18:03 -0500)]
dpcm: decode directly to the user-provided AVFrame

11 years agoimc/iac: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 23:01:45 +0000 (18:01 -0500)]
imc/iac: decode directly to the user-provided AVFrame

11 years agogsm: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 23:00:01 +0000 (18:00 -0500)]
gsm: decode directly to the user-provided AVFrame

11 years agog726: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:56:53 +0000 (17:56 -0500)]
g726: decode directly to the user-provided AVFrame

11 years agog723.1: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:55:09 +0000 (17:55 -0500)]
g723.1: decode directly to the user-provided AVFrame

11 years agog722: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:53:06 +0000 (17:53 -0500)]
g722: decode directly to the user-provided AVFrame

11 years agoflac: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:49:27 +0000 (17:49 -0500)]
flac: decode directly to the user-provided AVFrame

11 years agocinaudio: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:47:02 +0000 (17:47 -0500)]
cinaudio: decode directly to the user-provided AVFrame

11 years agodca: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:43:47 +0000 (17:43 -0500)]
dca: decode directly to the user-provided AVFrame

11 years agocook: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:41:31 +0000 (17:41 -0500)]
cook: decode directly to the user-provided AVFrame

11 years agocomfortnoise: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:37:34 +0000 (17:37 -0500)]
comfortnoise: decode directly to the user-provided AVFrame

11 years agobmvaudio: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:35:54 +0000 (17:35 -0500)]
bmvaudio: decode directly to the user-provided AVFrame

11 years agopcm: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:10:12 +0000 (17:10 -0500)]
pcm: decode directly to the user-provided AVFrame

11 years agobinkaudio: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:26:26 +0000 (17:26 -0500)]
binkaudio: decode directly to the user-provided AVFrame

11 years agoatrac3: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:24:53 +0000 (17:24 -0500)]
atrac3: decode directly to the user-provided AVFrame

11 years agoatrac1: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:07:10 +0000 (17:07 -0500)]
atrac1: decode directly to the user-provided AVFrame

11 years agoape: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:05:40 +0000 (17:05 -0500)]
ape: decode directly to the user-provided AVFrame

11 years agoamrwb: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:03:36 +0000 (17:03 -0500)]
amrwb: decode directly to the user-provided AVFrame

11 years agoamrnb: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 22:01:33 +0000 (17:01 -0500)]
amrnb: decode directly to the user-provided AVFrame

11 years agoals: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 21:59:43 +0000 (16:59 -0500)]
als: decode directly to the user-provided AVFrame

11 years agoalac: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 21:56:17 +0000 (16:56 -0500)]
alac: decode directly to the user-provided AVFrame

11 years agoadxenc: alloc/free coded_frame instead of keeping it in the ADXContext
Justin Ruggles [Sun, 23 Dec 2012 21:51:41 +0000 (16:51 -0500)]
adxenc: alloc/free coded_frame instead of keeping it in the ADXContext

11 years agoadx: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 21:50:06 +0000 (16:50 -0500)]
adx: decode directly to the user-provided AVFrame

11 years agoadpcm: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 21:43:07 +0000 (16:43 -0500)]
adpcm: decode directly to the user-provided AVFrame

11 years agoac3: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 21:40:37 +0000 (16:40 -0500)]
ac3: decode directly to the user-provided AVFrame

11 years agoaac: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 21:37:23 +0000 (16:37 -0500)]
aac: decode directly to the user-provided AVFrame

11 years ago8svx: decode directly to the user-provided AVFrame
Justin Ruggles [Sun, 23 Dec 2012 21:28:03 +0000 (16:28 -0500)]
8svx: decode directly to the user-provided AVFrame

11 years agolavu: avoid clashing definition of E
Luca Barbato [Sat, 9 Feb 2013 21:37:07 +0000 (22:37 +0100)]
lavu: avoid clashing definition of E

E is usually defined as a shorthand for AV_OPT_FLAG_ENCODING_PARAM.
Rename the single expansion E(x) now used in libavutil to E1.

11 years agodoc: developer: Add a note about reserved system name space
Diego Biurrun [Mon, 11 Feb 2013 17:53:33 +0000 (18:53 +0100)]
doc: developer: Add a note about reserved system name space

11 years agodoc: developer: Fix wording in "naming conventions" section
Diego Biurrun [Mon, 11 Feb 2013 17:39:12 +0000 (18:39 +0100)]
doc: developer: Fix wording in "naming conventions" section

11 years agoopenbsd: Add minor number to shared library install name
Diego Biurrun [Sun, 3 Feb 2013 14:02:31 +0000 (15:02 +0100)]
openbsd: Add minor number to shared library install name

This is what the OpenBSD porter's manual describes as correct, cf.
http://www.openbsd.org/faq/ports/specialtopics.html#SharedLibs

11 years agobuild: Make library minor version visible in the Makefile
Diego Biurrun [Sun, 3 Feb 2013 14:03:08 +0000 (15:03 +0100)]
build: Make library minor version visible in the Makefile

This allows employing that number in library install commands.

11 years agox86: mpeg4qpel: Make movsxifnidn do the right thing
Daniel Kang [Mon, 11 Feb 2013 18:45:10 +0000 (13:45 -0500)]
x86: mpeg4qpel: Make movsxifnidn do the right thing

Fixes an instruction that does nothing by changing the
source to dword.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoh264: Copy h264chroma dsp context to slice thread copies
Martin Storsjö [Mon, 11 Feb 2013 18:27:50 +0000 (20:27 +0200)]
h264: Copy h264chroma dsp context to slice thread copies

This fixes slice threading which seems to have been broken since
79dad2a93.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoswscale: Disallow conversion to GBRP16
Martin Storsjö [Mon, 11 Feb 2013 11:37:29 +0000 (13:37 +0200)]
swscale: Disallow conversion to GBRP16

This reverts parts of d6d5ef5534d582, that didn't work right. (The
tests that were added failed on big endian, and the output looked
garbled on little endian as well.)

This is due to the fact that the intermediate scaling values (from
e.g. hScale8To19_c or hScale16To19_c) are stored as int32_t and
thus requires a separate output function, while yuv2gbrp_full_X_c
only interprets it as int16_t.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agocrc: Move static data table from header to .c file
Diego Biurrun [Sun, 3 Feb 2013 14:43:47 +0000 (15:43 +0100)]
crc: Move static data table from header to .c file

Having static data tables in header files is a potential source of trouble.

11 years agoavcodec/rectangle: Remove nonsense assert
Diego Biurrun [Fri, 8 Feb 2013 14:55:24 +0000 (15:55 +0100)]
avcodec/rectangle: Remove nonsense assert

11 years agolibfdk-aacenc: Actually check for upper bounds of cutoff
Derek Buitenhuis [Sat, 9 Feb 2013 19:03:02 +0000 (14:03 -0500)]
libfdk-aacenc: Actually check for upper bounds of cutoff

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agoarm: Fall back to runtime cpu feature detection via /proc/cpuinfo
Martin Storsjö [Thu, 7 Feb 2013 08:54:20 +0000 (10:54 +0200)]
arm: Fall back to runtime cpu feature detection via /proc/cpuinfo

On recent android versions, /proc/self/auxw is unreadable
(unless the process is running running under the shell uid or
in debuggable mode, which makes it hard to notice). See
http://b.android.com/43055 and
https://android-review.googlesource.com/51271 for more information
about the issue.

This makes sure e.g. neon optimizations are enabled at runtime in
android apps even when built in release mode, if configured to
use the runtime detection.

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agosparc: dsputil_vis: Fix silly variable name search and replace typo
Diego Biurrun [Sun, 10 Feb 2013 21:03:48 +0000 (22:03 +0100)]
sparc: dsputil_vis: Fix silly variable name search and replace typo

11 years agosws: disable yuv2rgb warning for planar rgb.
Michael Niedermayer [Sat, 26 Jan 2013 22:05:26 +0000 (23:05 +0100)]
sws: disable yuv2rgb warning for planar rgb.

planar rgb formats do not use the table

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agosws: dont enable chrSrcHSubSample for planar RGB
Michael Niedermayer [Sat, 26 Jan 2013 18:49:22 +0000 (19:49 +0100)]
sws: dont enable chrSrcHSubSample for planar RGB

This code path is not implemented and makes not much sense to implement
either.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agosws: use planarRgbToRgbWrapper only for 8bit per component
Michael Niedermayer [Sat, 26 Jan 2013 18:43:06 +0000 (19:43 +0100)]
sws: use planarRgbToRgbWrapper only for 8bit per component

The function doesnt support >8bit currently

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agosws: GBRP9, GBRP10, and GBRP16 output support
Michael Niedermayer [Fri, 25 Jan 2013 22:05:48 +0000 (23:05 +0100)]
sws: GBRP9, GBRP10, and GBRP16 output support

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agoFATE: add tests for additional flavors of asf cover art
Anton Khirnov [Fri, 8 Feb 2013 13:00:28 +0000 (14:00 +0100)]
FATE: add tests for additional flavors of asf cover art

11 years agoasfdec: do not assume every AVStream has a corresponding ASFStream
Anton Khirnov [Fri, 8 Feb 2013 12:54:36 +0000 (13:54 +0100)]
asfdec: do not assume every AVStream has a corresponding ASFStream

This won't be true for ID3 attached picture.

Also stop allocating now useless dummy ASFStreams for ASF native
attached pictures.

11 years agoasfdec: support reading ID3v2 tags in ASF files
Vladimir Pantelic [Fri, 8 Feb 2013 10:06:37 +0000 (11:06 +0100)]
asfdec: support reading ID3v2 tags in ASF files

Yes, these files do exist

Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoavplay: apply the stream sample_aspect_ratio to decoded video frames
Vladimir Pantelic [Thu, 7 Feb 2013 17:42:39 +0000 (18:42 +0100)]
avplay: apply the stream sample_aspect_ratio to decoded video frames

If there is a sample_aspect_ratio in the stream, then apply it to every
decoded frame in the same way as avconv does. This also makes sure that
the avfilter chain has access to the aspect ratio.

Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoasfdec: also read Metadata Library Object
Vladimir Pantelic [Wed, 6 Feb 2013 13:35:27 +0000 (14:35 +0100)]
asfdec: also read Metadata Library Object

In some ASF files this objects holds cover art and other tags. Compared to
Metadata Object it can also hold GUIDs, but we ignore these for now.

Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoasfdec: read the full Metadata Object, not just aspect ratio information
Vladimir Pantelic [Wed, 6 Feb 2013 13:35:26 +0000 (14:35 +0100)]
asfdec: read the full Metadata Object, not just aspect ratio information

Use the same get_tag()/get_value() as for the Extended Content Description
but handle the 16 bit vs 32 bit difference for type 2 (BOOL)

Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoasfdec: silence a warning
Vladimir Pantelic [Wed, 6 Feb 2013 13:35:25 +0000 (14:35 +0100)]
asfdec: silence a warning

Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agomss4, ra288: Remove unused DSPContext local codec context members
Diego Biurrun [Fri, 8 Feb 2013 23:09:54 +0000 (00:09 +0100)]
mss4, ra288: Remove unused DSPContext local codec context members

11 years agodsputil: Move fdct function declarations to dct.h
Diego Biurrun [Thu, 7 Feb 2013 20:58:48 +0000 (21:58 +0100)]
dsputil: Move fdct function declarations to dct.h

11 years agodsputil: Move LOCAL_ALIGNED macros to libavutil
Diego Biurrun [Thu, 7 Feb 2013 23:31:13 +0000 (00:31 +0100)]
dsputil: Move LOCAL_ALIGNED macros to libavutil

11 years agodsputil: Move WRAPPER8_16_SQ macro to the only place it is used
Diego Biurrun [Thu, 7 Feb 2013 21:39:26 +0000 (22:39 +0100)]
dsputil: Move WRAPPER8_16_SQ macro to the only place it is used

11 years agodsputil: Move rnd_avg inline functions to a separate header
Diego Biurrun [Thu, 7 Feb 2013 21:37:00 +0000 (22:37 +0100)]
dsputil: Move rnd_avg inline functions to a separate header

11 years agodsputil: Remove commented-out, unused function declarations
Diego Biurrun [Thu, 7 Feb 2013 21:18:07 +0000 (22:18 +0100)]
dsputil: Remove commented-out, unused function declarations

11 years agodsputil: Move ff_shrink* function declarations to separate header
Diego Biurrun [Thu, 7 Feb 2013 20:43:58 +0000 (21:43 +0100)]
dsputil: Move ff_shrink* function declarations to separate header

11 years agodsputil: Move ff_svq3 function declarations to a separate header
Diego Biurrun [Thu, 7 Feb 2013 20:33:31 +0000 (21:33 +0100)]
dsputil: Move ff_svq3 function declarations to a separate header

11 years agodsputil: Move ff_h264_idct function declarations to a separate header
Diego Biurrun [Thu, 7 Feb 2013 20:25:55 +0000 (21:25 +0100)]
dsputil: Move ff_h264_idct function declarations to a separate header

11 years agodsputil: Move copy_block functions to a separate header
Diego Biurrun [Thu, 7 Feb 2013 21:03:49 +0000 (22:03 +0100)]
dsputil: Move copy_block functions to a separate header

11 years agodsputil: Drop unused functions copy_block{2|4|16}
Diego Biurrun [Thu, 7 Feb 2013 20:12:49 +0000 (21:12 +0100)]
dsputil: Drop unused functions copy_block{2|4|16}

11 years agoindeo3: replace use of copy_block4 with put_pixels
Mans Rullgard [Sun, 9 Dec 2012 19:18:47 +0000 (19:18 +0000)]
indeo3: replace use of copy_block4 with put_pixels

The destination is sufficiently aligned for put_pixels here.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agomjpegdec: use put_pixels instead of copy_block8
Mans Rullgard [Mon, 10 Dec 2012 09:57:10 +0000 (09:57 +0000)]
mjpegdec: use put_pixels instead of copy_block8

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agodsputil: Move get_penalty_factor() to the only place it is used.
Diego Biurrun [Thu, 7 Feb 2013 20:07:57 +0000 (21:07 +0100)]
dsputil: Move get_penalty_factor() to the only place it is used.

11 years agodsputil: Move ff_block_permute to mpegvideo_enc
Diego Biurrun [Thu, 7 Feb 2013 20:04:32 +0000 (21:04 +0100)]
dsputil: Move ff_block_permute to mpegvideo_enc

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