platform/upstream/libav.git
11 years agolavfi: replace avfilter_open() with avfilter_graph_alloc_filter().
Anton Khirnov [Sun, 31 Mar 2013 06:28:11 +0000 (08:28 +0200)]
lavfi: replace avfilter_open() with avfilter_graph_alloc_filter().

Since we do not support "standalone" filters not attached to an
AVFilterGraph, we should not have a public function to create such
filters. In addition that function is horribly named, the action it does
cannot be possibly described as "opening" a filter.

11 years agolavfi: merge avfiltergraph.h into avfilter.h
Anton Khirnov [Sat, 30 Mar 2013 21:31:18 +0000 (22:31 +0100)]
lavfi: merge avfiltergraph.h into avfilter.h

We do not support using filters without AVFilterGraph in practice
anyway, so there is no point in pretending we do.

11 years agolavfi: add const to the pads parameter of avfilter_pad_get_name/type
Anton Khirnov [Thu, 28 Mar 2013 08:31:42 +0000 (09:31 +0100)]
lavfi: add const to the pads parameter of avfilter_pad_get_name/type

11 years agolavfi: add const to AVFilterContext.filter.
Anton Khirnov [Sun, 31 Mar 2013 06:20:06 +0000 (08:20 +0200)]
lavfi: add const to AVFilterContext.filter.

lavfi should never modify the filter through that pointer.

11 years agodoc: document the prores encoder options
Anton Khirnov [Fri, 22 Mar 2013 23:13:44 +0000 (00:13 +0100)]
doc: document the prores encoder options

Adapted from the author's blag.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoCosmetics, restore alphabetic order in atomics lists.
Anton Khirnov [Sat, 6 Apr 2013 17:04:56 +0000 (19:04 +0200)]
Cosmetics, restore alphabetic order in atomics lists.

11 years agoimg2enc: add an option for overwriting one file with subsequent images
Anton Khirnov [Thu, 4 Apr 2013 20:57:58 +0000 (22:57 +0200)]
img2enc: add an option for overwriting one file with subsequent images

Based on a patch by Michael Niedermayer <michaelni@gmx.at>.

11 years agoMove misplaced file author information where it belongs
Diego Biurrun [Wed, 10 Apr 2013 17:26:49 +0000 (19:26 +0200)]
Move misplaced file author information where it belongs

11 years agolavc: don't overwrite display dimensions with coded dimensions.
Anton Khirnov [Fri, 22 Mar 2013 06:59:10 +0000 (07:59 +0100)]
lavc: don't overwrite display dimensions with coded dimensions.

11 years agolavc: extend / update the [coded_]{width,height} doxy
Anton Khirnov [Fri, 22 Mar 2013 07:20:27 +0000 (08:20 +0100)]
lavc: extend / update the [coded_]{width,height} doxy

11 years agoh261: Move encoder/decoder shared table init to common code
Diego Biurrun [Fri, 5 Apr 2013 21:43:31 +0000 (23:43 +0200)]
h261: Move encoder/decoder shared table init to common code

11 years agoh261: Move shared data tables from a header to a proper C file
Diego Biurrun [Thu, 4 Apr 2013 12:56:01 +0000 (14:56 +0200)]
h261: Move shared data tables from a header to a proper C file

11 years agodsputil: Make dsputil selectable
Ronald S. Bultje [Tue, 12 Mar 2013 14:28:11 +0000 (07:28 -0700)]
dsputil: Make dsputil selectable

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoh264: Only initialize dsputil if error resilience is enabled
Ronald S. Bultje [Tue, 26 Mar 2013 14:43:57 +0000 (16:43 +0200)]
h264: Only initialize dsputil if error resilience is enabled

It is only used for error resilience. This allows building the
h264 decoder without dsputil, if error resilience is disabled.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoh264: Integrate clear_blocks calls with IDCT
Ronald S. Bultje [Tue, 19 Feb 2013 05:03:02 +0000 (21:03 -0800)]
h264: Integrate clear_blocks calls with IDCT

The non-intra-pcm branch in hl_decode_mb (simple, 8bpp) goes from 700
to 672 cycles, and the complete loop of decode_mb_cabac and hl_decode_mb
(in the decode_slice loop) goes from 1759 to 1733 cycles on the clip
tested (cathedral), i.e. almost 30 cycles per mb faster.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoh264: Clear the mb members via memset instead of using dsputil
Martin Storsjö [Wed, 3 Apr 2013 14:23:01 +0000 (17:23 +0300)]
h264: Clear the mb members via memset instead of using dsputil

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agodsputil: Make square put/avg_pixels functions local to h264qpel
Ronald S. Bultje [Sat, 9 Mar 2013 04:16:08 +0000 (20:16 -0800)]
dsputil: Make square put/avg_pixels functions local to h264qpel

Put a copy of the 8bit functions only in dsputil, where they are
used for some other things (e.g. mpeg4qpel, mspel, cavsqpel).

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agox86inc: Fix number of operands for cmp* instructions
Christophe Gisquet [Sun, 7 Apr 2013 19:29:52 +0000 (19:29 +0000)]
x86inc: Fix number of operands for cmp* instructions

cmp{p,s}{s,d} instructions do take an imm8 operand.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoaf_channelmap: fix uninitialized variable use introduced in ba8efac977f4276f05274947b...
Anton Khirnov [Tue, 9 Apr 2013 20:01:10 +0000 (22:01 +0200)]
af_channelmap: fix uninitialized variable use introduced in ba8efac977f4276f05274947b2b67d144cbc965a

11 years agolavfi: add a bump and docs entries for the AVOptions switch
Anton Khirnov [Fri, 5 Apr 2013 13:37:29 +0000 (15:37 +0200)]
lavfi: add a bump and docs entries for the AVOptions switch

11 years agolavfi: add avfilter_get_class().
Anton Khirnov [Wed, 13 Mar 2013 08:09:36 +0000 (09:09 +0100)]
lavfi: add avfilter_get_class().

Useful for examining options, the same as the corresponding functions
for the other libs.

11 years agolavfi: make AVFilterContext export filter options.
Anton Khirnov [Wed, 13 Mar 2013 07:48:16 +0000 (08:48 +0100)]
lavfi: make AVFilterContext export filter options.

11 years agolavfi: error out when options are provided to a filter that does not take any
Anton Khirnov [Wed, 3 Apr 2013 07:44:25 +0000 (09:44 +0200)]
lavfi: error out when options are provided to a filter that does not take any

11 years agolavfi: remove now unused args parameter from AVFilter.init
Anton Khirnov [Wed, 13 Mar 2013 07:26:39 +0000 (08:26 +0100)]
lavfi: remove now unused args parameter from AVFilter.init

11 years agovsrc_testsrc: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vsrc_testsrc: switch to an AVOptions-based system.

11 years agovsrc_movie: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vsrc_movie: switch to an AVOptions-based system.

11 years agovsrc_nullsrc: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vsrc_nullsrc: switch to an AVOptions-based system.

11 years agovsrc_color: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vsrc_color: switch to an AVOptions-based system.

11 years agosplit: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
split: switch to an AVOptions-based system.

11 years agoaf_volume: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
af_volume: switch to an AVOptions-based system.

11 years agoaf_join: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
af_join: switch to an AVOptions-based system.

Change the mappings separator from comma to '|' to avoid excessive
escaping, since comma is already used for separating filters in the
filtergraph description.

11 years agoaf_channelsplit: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
af_channelsplit: switch to an AVOptions-based system.

11 years agoaf_channelmap: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
af_channelmap: switch to an AVOptions-based system.

11 years agoaf_asyncts: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
af_asyncts: switch to an AVOptions-based system.

11 years agoaf_amix: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
af_amix: switch to an AVOptions-based system.

11 years agovf_yadif: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_yadif: switch to an AVOptions-based system.

11 years agovf_unsharp: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_unsharp: switch to an AVOptions-based system.

11 years agovf_transpose: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_transpose: switch to an AVOptions-based system.

11 years agovf_settb: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_settb: switch to an AVOptions-based system.

11 years agovf_setpts: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_setpts: switch to an AVOptions-based system.

11 years agovf_select: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_select: switch to an AVOptions-based system.

11 years agovf_pad: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_pad: switch to an AVOptions-based system.

11 years agovf_overlay: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_overlay: switch to an AVOptions-based system.

11 years agovf_lut: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_lut: switch to an AVOptions-based system.

11 years agovf_libopencv: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_libopencv: switch to an AVOptions-based system.

11 years agovf_hqdn3d: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_hqdn3d: switch to an AVOptions-based system.

11 years agovf_gradfun: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_gradfun: switch to an AVOptions-based system.

11 years agovf_scale: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_scale: switch to an AVOptions-based system.

11 years agovf_frei0r: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_frei0r: switch to an AVOptions-based system.

11 years agovf_fps: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_fps: switch to an AVOptions-based system.

11 years agovf_fieldorder: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_fieldorder: switch to an AVOptions-based system.

11 years agovf_fade: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_fade: switch to an AVOptions-based system.

11 years agovf_drawtext: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_drawtext: switch to an AVOptions-based system.

11 years agovf_drawbox: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_drawbox: switch to an AVOptions-based system.

11 years agovf_delogo: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_delogo: switch to an AVOptions-based system.

11 years agovf_cropdetect: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_cropdetect: switch to an AVOptions-based system.

11 years agovf_crop: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_crop: switch to an AVOptions-based system.

11 years agovf_boxblur: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_boxblur: switch to an AVOptions-based system.

11 years agovf_blackframe: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_blackframe: switch to an AVOptions-based system.

11 years agovf_aspect: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_aspect: switch to an AVOptions-based system.

11 years agovf_(no)format: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
vf_(no)format: switch to an AVOptions-based system.

11 years agoaf_aformat: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
af_aformat: switch to an AVOptions-based system.

11 years agobuffersrc: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
buffersrc: switch to an AVOptions-based system.

11 years agoaf_resample: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
af_resample: switch to an AVOptions-based system.

11 years agolavfi: switch to an AVOptions-based system.
Anton Khirnov [Mon, 25 Feb 2013 20:21:29 +0000 (21:21 +0100)]
lavfi: switch to an AVOptions-based system.

11 years agodfa: implement missing TDLT coding method
Kostya Shishkov [Mon, 8 Apr 2013 18:06:42 +0000 (20:06 +0200)]
dfa: implement missing TDLT coding method

11 years agosrtp: Include rtpdec.h for RTP_MAX_PACKET_LENGTH
Martin Storsjö [Tue, 9 Apr 2013 08:56:55 +0000 (11:56 +0300)]
srtp: Include rtpdec.h for RTP_MAX_PACKET_LENGTH

This was missed from 350ad50b - this fixes building the fate-srtp
test.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortpdec: Increase max rtp packet size to 8192
Andrew Van Til [Thu, 4 Apr 2013 23:46:50 +0000 (01:46 +0200)]
rtpdec: Increase max rtp packet size to 8192

This fixes connecting to "Ceton InfiniTV4 PCIe & USB".

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolavf: Use RTP_MAX_PACKET_LENGTH instead of 1500
Andrew Van Til [Thu, 4 Apr 2013 23:45:52 +0000 (01:45 +0200)]
lavf: Use RTP_MAX_PACKET_LENGTH instead of 1500

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoh264pred: Add a few missing const declarations for ff_cropTbl derived pointers
Martin Storsjö [Mon, 8 Apr 2013 14:34:38 +0000 (17:34 +0300)]
h264pred: Add a few missing const declarations for ff_cropTbl derived pointers

The pointers that get assigned ff_cropTbl were made const in
9e0f14f1, but other variables that transitively are assigned
based on these variables were missed.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolavc: Move ff_cropTbl and ff_zigzag_direct from dsputil to mathtables
Ronald S. Bultje [Sun, 3 Mar 2013 23:47:11 +0000 (15:47 -0800)]
lavc: Move ff_cropTbl and ff_zigzag_direct from dsputil to mathtables

These are widely used throughout libavcodec, nothing dsputil-specific.

Change ff_cropTbl to a statically initialized table, to avoid
initializing it with a function call.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolavc: Make pointers to ff_cropTbl const
Martin Storsjö [Wed, 3 Apr 2013 12:28:45 +0000 (15:28 +0300)]
lavc: Make pointers to ff_cropTbl const

There's no point in these pointers not being const.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agovp3: Embed idct_permutation array directly in VP3DecoderContext
Ronald S. Bultje [Sat, 9 Mar 2013 17:08:36 +0000 (09:08 -0800)]
vp3: Embed idct_permutation array directly in VP3DecoderContext

This makes the vp3 decoder less dependent on dsputil, and will aid
in making it (eventually) dsputil-independent.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agox86: qpel: Move fullpel and l2 functions to a separate file
Ronald S. Bultje [Sat, 9 Mar 2013 04:40:16 +0000 (20:40 -0800)]
x86: qpel: Move fullpel and l2 functions to a separate file

This way, they can be shared between mpeg4qpel and h264qpel without
requiring either one to be compiled unconditionally.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agobfin: Make vp3 functions static
Martin Storsjö [Wed, 3 Apr 2013 11:26:14 +0000 (04:26 -0700)]
bfin: Make vp3 functions static

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agobfin: Don't use the vp3 idct functions if bitexact behaviour is expected
Martin Storsjö [Wed, 3 Apr 2013 10:56:33 +0000 (03:56 -0700)]
bfin: Don't use the vp3 idct functions if bitexact behaviour is expected

In the non-bitexact mode, vp3 currently decodes to the same
frame crcs as before 28f9ab702 (and the output visually looks
correct).

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agox86: sbrdsp: Implement SSE neg_odd_64
Christophe Gisquet [Fri, 21 Dec 2012 17:11:06 +0000 (18:11 +0100)]
x86: sbrdsp: Implement SSE neg_odd_64

Timing on Arrandale:
        C   SSE
Win32:  57   44
Win64:  47   38
Unrolling and not storing mask both save some cycles.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoIntegrate lcov/gcov into Libav
Reinhard Tartler [Sat, 23 Mar 2013 07:17:24 +0000 (08:17 +0100)]
Integrate lcov/gcov into Libav

The gcov/lcov are a common toolchain for visualizing code coverage with
the GNU/Toolchain. The documentation and implementation of this
integration was heavily inspired from the blog entry by Mike Melanson:
http://multimedia.cx/eggs/using-lcov-with-ffmpeg/

11 years agoh261: Move mvmap table to the only place it is used
Diego Biurrun [Thu, 4 Apr 2013 12:34:38 +0000 (14:34 +0200)]
h261: Move mvmap table to the only place it is used

11 years agoh261: cosmetics: Move functions to avoid forward declarations
Diego Biurrun [Thu, 4 Apr 2013 12:33:55 +0000 (14:33 +0200)]
h261: cosmetics: Move functions to avoid forward declarations

11 years agoh261: K&R formatting and prettyprinting cosmetics
Diego Biurrun [Thu, 4 Apr 2013 12:31:58 +0000 (14:31 +0200)]
h261: K&R formatting and prettyprinting cosmetics

11 years agoh261: Move function declarations to h261.h
Diego Biurrun [Wed, 3 Apr 2013 18:16:08 +0000 (20:16 +0200)]
h261: Move function declarations to h261.h

11 years agoh261: Remove H.261 loop filter from dsputil
Diego Biurrun [Wed, 3 Apr 2013 18:09:58 +0000 (20:09 +0200)]
h261: Remove H.261 loop filter from dsputil

There is no arch-optimized version of the H.261 loop filter and there
likely will never be, so the dsputil overhead does not give any benefit.

11 years agoh261: Move ff_h261_rl_table_store declaration to header file
Diego Biurrun [Wed, 3 Apr 2013 16:52:30 +0000 (18:52 +0200)]
h261: Move ff_h261_rl_table_store declaration to header file

11 years agolibopenjpeg: Add support for XYZ colorspace, found in DCINEMA frames
Nicolas Bertrand [Tue, 26 Mar 2013 22:21:15 +0000 (23:21 +0100)]
libopenjpeg: Add support for XYZ colorspace, found in DCINEMA frames

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agopixdesc/pixfmt: Add XYZ colorspace for XYZ 12-bit values
Nicolas Bertrand [Tue, 26 Mar 2013 22:21:13 +0000 (23:21 +0100)]
pixdesc/pixfmt: Add XYZ colorspace for XYZ 12-bit values

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoimg2: Add j2k file extension for JPEG 2000
Nicolas Bertrand [Tue, 26 Mar 2013 22:21:12 +0000 (23:21 +0100)]
img2: Add j2k file extension for JPEG 2000

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoxmv: do not leak memory in the error paths in xmv_read_header()
Anton Khirnov [Thu, 28 Mar 2013 09:34:47 +0000 (10:34 +0100)]
xmv: do not leak memory in the error paths in xmv_read_header()

CC: libav-stable@libav.org
11 years agoxmv: check audio track parameters validity.
Anton Khirnov [Thu, 28 Mar 2013 09:33:02 +0000 (10:33 +0100)]
xmv: check audio track parameters validity.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
11 years agobmv: check for len being valid in bmv_decode_frame().
Anton Khirnov [Thu, 28 Mar 2013 09:09:36 +0000 (10:09 +0100)]
bmv: check for len being valid in bmv_decode_frame().

It can be 0 or -1 for invalid files, which may result in invalid memory
access.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
11 years agoid3v2: pad the APIC packets as required by lavc.
Anton Khirnov [Thu, 28 Mar 2013 08:49:38 +0000 (09:49 +0100)]
id3v2: pad the APIC packets as required by lavc.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
11 years agodfa: check for invalid access in decode_wdlt().
Anton Khirnov [Wed, 27 Mar 2013 17:18:38 +0000 (18:18 +0100)]
dfa: check for invalid access in decode_wdlt().

This can happen when the number of skipped lines is not consistent with
the number of coded lines.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
11 years agolavf: make sure stream probe data gets freed.
Anton Khirnov [Wed, 27 Mar 2013 16:56:59 +0000 (17:56 +0100)]
lavf: make sure stream probe data gets freed.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
11 years agoavfiltergraph: set deprecated filter_count.
Anton Khirnov [Sat, 30 Mar 2013 21:15:48 +0000 (22:15 +0100)]
avfiltergraph: set deprecated filter_count.

11 years agoopt: check the return values of av_get_token for ENOMEM.
Anton Khirnov [Mon, 25 Feb 2013 11:32:49 +0000 (12:32 +0100)]
opt: check the return values of av_get_token for ENOMEM.

11 years agodoc: Fix best_nb_channells typo
Peter Meerwald [Wed, 3 Apr 2013 12:33:58 +0000 (14:33 +0200)]
doc: Fix best_nb_channells typo

Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agomatroska: pass the lace size to the matroska_parse_rm_audio
Luca Barbato [Fri, 29 Mar 2013 11:51:51 +0000 (12:51 +0100)]
matroska: pass the lace size to the matroska_parse_rm_audio

Each lace must be independent according to the specification.

Fix heap-buffer-overflow in matroska_parse_block for
corrupted real media in mkv files.

Stricter check than fc43c19a567aa945398dccb491d972c11ec2a065

CC: libav-stable@libav.org
11 years agomatroska: fix a corner case in ebml-lace parsing
Luca Barbato [Thu, 28 Mar 2013 10:52:52 +0000 (11:52 +0100)]
matroska: fix a corner case in ebml-lace parsing

Make sure we notice when the lace_size[n] is a negative value.

CC: libav-stable@libav.org
11 years agomatroska: Update the available size after lace parsing
Dale Curtis [Wed, 27 Mar 2013 21:02:03 +0000 (14:02 -0700)]
matroska: Update the available size after lace parsing

Fix heap-buffer-overflow in matroska_parse_block for
corrupted real media in mkv files.

CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agoclang: use -fsantize=address and -fsanitize=thread
Luca Barbato [Thu, 28 Mar 2013 02:30:53 +0000 (03:30 +0100)]
clang: use -fsantize=address and -fsanitize=thread

The previous syntax is deprecated.