]> git.sesse.net Git - ffmpeg/log
ffmpeg
10 years agogo2meeting: disallow tile dimensions that are not multiple of 16
Kostya Shishkov [Fri, 29 Nov 2013 08:15:00 +0000 (09:15 +0100)]
go2meeting: disallow tile dimensions that are not multiple of 16

Original decoder seems to always use 176x128 tiles anyway and this helps
avoiding lots of issues with odd tile sizes in fuzzed files.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agompeg4videodec: move sprite_{shift,traj} from MpegEncContext to Mpeg4DecContext
Anton Khirnov [Tue, 26 Nov 2013 13:34:52 +0000 (14:34 +0100)]
mpeg4videodec: move sprite_{shift,traj} from MpegEncContext to Mpeg4DecContext

10 years agompeg4videodec: move num_sprite_warping_points from MpegEncContext to Mpeg4DecContext
Anton Khirnov [Tue, 26 Nov 2013 13:34:52 +0000 (14:34 +0100)]
mpeg4videodec: move num_sprite_warping_points from MpegEncContext to Mpeg4DecContext

10 years agompeg4videodec: move sprite_brightness_change from MpegEncContext to Mpeg4DecContext
Anton Khirnov [Tue, 26 Nov 2013 13:34:52 +0000 (14:34 +0100)]
mpeg4videodec: move sprite_brightness_change from MpegEncContext to Mpeg4DecContext

10 years agompeg4videodec: move scalability from MpegEncContext to Mpeg4DecContext
Anton Khirnov [Tue, 26 Nov 2013 13:34:52 +0000 (14:34 +0100)]
mpeg4videodec: move scalability from MpegEncContext to Mpeg4DecContext

10 years agompeg4videodec: move enhancement_type from MpegEncContext to Mpeg4DecContext
Anton Khirnov [Tue, 26 Nov 2013 13:34:52 +0000 (14:34 +0100)]
mpeg4videodec: move enhancement_type from MpegEncContext to Mpeg4DecContext

10 years agompeg4videodec: remove a write-only variable from MpegEncContext
Anton Khirnov [Tue, 26 Nov 2013 13:45:14 +0000 (14:45 +0100)]
mpeg4videodec: remove a write-only variable from MpegEncContext

10 years agompeg4videodec: move new_pred from MpegEncContext to Mpeg4DecContext
Anton Khirnov [Tue, 26 Nov 2013 13:34:52 +0000 (14:34 +0100)]
mpeg4videodec: move new_pred from MpegEncContext to Mpeg4DecContext

10 years agompeg4videodec: replace MpegEncContext.reduced_res_vop with a local variable
Anton Khirnov [Tue, 26 Nov 2013 13:34:52 +0000 (14:34 +0100)]
mpeg4videodec: replace MpegEncContext.reduced_res_vop with a local variable

10 years agompeg4videodec: remove a write-only variable from MpegEncContext
Anton Khirnov [Tue, 26 Nov 2013 13:40:21 +0000 (14:40 +0100)]
mpeg4videodec: remove a write-only variable from MpegEncContext

10 years agompeg4videodec: move t_frame from MpegEncContext to Mpeg4DecContext
Anton Khirnov [Tue, 26 Nov 2013 13:34:52 +0000 (14:34 +0100)]
mpeg4videodec: move t_frame from MpegEncContext to Mpeg4DecContext

10 years agompeg4videodec: move cplx_estimation_* fields from MpegEncContext to Mpeg4DecContext
Anton Khirnov [Tue, 26 Nov 2013 13:34:52 +0000 (14:34 +0100)]
mpeg4videodec: move cplx_estimation_* fields from MpegEncContext to Mpeg4DecContext

10 years agompeg4videodec: move mpeg4-specific bug workaround variables from MpegEncContext to...
Anton Khirnov [Tue, 26 Nov 2013 13:30:13 +0000 (14:30 +0100)]
mpeg4videodec: move mpeg4-specific bug workaround variables from MpegEncContext to Mpeg4DecContext

10 years agompeg4videodec: move mpeg4-specific post-frame-decode code from h264dec to mpeg4videodec
Anton Khirnov [Tue, 26 Nov 2013 13:22:10 +0000 (14:22 +0100)]
mpeg4videodec: move mpeg4-specific post-frame-decode code from h264dec to mpeg4videodec

10 years agompeg4videodec: move mpeg4-specific bug detection from h263 generic code to mpeg4
Anton Khirnov [Tue, 26 Nov 2013 11:40:13 +0000 (12:40 +0100)]
mpeg4videodec: move mpeg4-specific bug detection from h263 generic code to mpeg4

10 years agompeg4videodec: move MpegEncContext.resync_marker into Mpeg4DecContext.
Anton Khirnov [Tue, 26 Nov 2013 11:18:44 +0000 (12:18 +0100)]
mpeg4videodec: move MpegEncContext.resync_marker into Mpeg4DecContext.

10 years agovc1: move MpegEncContext.resync_marker into VC1Context.
Anton Khirnov [Tue, 26 Nov 2013 11:18:44 +0000 (12:18 +0100)]
vc1: move MpegEncContext.resync_marker into VC1Context.

The field still remains in MpegEncContext because it is used by the
mpeg4 decoder.

10 years agompeg4videoenc: don't set MpegEncContext.resync_marker
Anton Khirnov [Tue, 26 Nov 2013 11:14:13 +0000 (12:14 +0100)]
mpeg4videoenc: don't set MpegEncContext.resync_marker

It is only used in one place immediately after it is set.

10 years agoh263dec: remove commented out cruft
Anton Khirnov [Tue, 26 Nov 2013 10:52:54 +0000 (11:52 +0100)]
h263dec: remove commented out cruft

10 years agompeg4videodec: move MpegEncContext.rvlc to Mpeg4DecContext
Anton Khirnov [Tue, 26 Nov 2013 10:23:16 +0000 (11:23 +0100)]
mpeg4videodec: move MpegEncContext.rvlc to Mpeg4DecContext

10 years agompeg4videodec: remove write-only sprite variables from MpegEncContext
Anton Khirnov [Tue, 26 Nov 2013 10:48:51 +0000 (11:48 +0100)]
mpeg4videodec: remove write-only sprite variables from MpegEncContext

10 years agompeg4videodec: move MpegEncContext.vol_sprite_usage to Mpeg4DecContext
Anton Khirnov [Tue, 26 Nov 2013 10:23:16 +0000 (11:23 +0100)]
mpeg4videodec: move MpegEncContext.vol_sprite_usage to Mpeg4DecContext

10 years agompeg4videoenc: write 0 instead of vol_sprite_usage
Anton Khirnov [Tue, 26 Nov 2013 10:37:59 +0000 (11:37 +0100)]
mpeg4videoenc: write 0 instead of vol_sprite_usage

That field is never set for encoding.

10 years agompeg4videodec: move MpegEncContext.time_increment_bits to Mpeg4DecContext
Anton Khirnov [Tue, 26 Nov 2013 10:23:16 +0000 (11:23 +0100)]
mpeg4videodec: move MpegEncContext.time_increment_bits to Mpeg4DecContext

The field remains in MpegEncContext for use in the encoder.

10 years agompeg4videodec: move MpegEncContext.shape to Mpeg4DecContext
Anton Khirnov [Tue, 26 Nov 2013 10:23:16 +0000 (11:23 +0100)]
mpeg4videodec: move MpegEncContext.shape to Mpeg4DecContext

10 years agompeg4videodec: add a mpeg4-specific private context.
Anton Khirnov [Tue, 26 Nov 2013 09:41:57 +0000 (10:41 +0100)]
mpeg4videodec: add a mpeg4-specific private context.

10 years agomxfdec: set extradata size
Anton Khirnov [Tue, 26 Nov 2013 14:41:12 +0000 (15:41 +0100)]
mxfdec: set extradata size

The line setting it was mistakenly removed in
ecf442a58b09bdb1dc1d2c3904b82ac5f79b2878

10 years agodcadec: add disable_xch private option.
Tim Walker [Sat, 23 Nov 2013 23:15:46 +0000 (00:15 +0100)]
dcadec: add disable_xch private option.

This supplements the deprecated request_channels-based control of XCh decoding.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agodcadec: treat all 2-channel modes as Stereo in dca_downmix.
Tim Walker [Fri, 22 Nov 2013 21:59:54 +0000 (22:59 +0100)]
dcadec: treat all 2-channel modes as Stereo in dca_downmix.

The check for (prim_channels > 2) before calling dca_downmix made these
cases unreachable, but now 2.1 layouts will go through the downmix code.
Having dual mono, Lt/Rt and sum-difference layouts print errors when
regular Stereo doesn't seems pointless.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agodca: support mixing LFE in dca_downmix.
Tim Walker [Fri, 22 Nov 2013 22:47:03 +0000 (23:47 +0100)]
dca: support mixing LFE in dca_downmix.

Embedded downmix coefficients can use this.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agodca: improve default stereo downmix coefficients.
Tim Walker [Fri, 22 Nov 2013 21:11:47 +0000 (22:11 +0100)]
dca: improve default stereo downmix coefficients.

Previous coefficients were producing a non-normalized, incorrect Lt/Rt downmix.

The new coefficients produce a standard Lo/Ro downmix with 3dB attenuation.

This should match the typical default coefficients used by DTS encoders.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agodca: extract core substream's embedded downmix coeffcient codes, if present.
Tim Walker [Fri, 22 Nov 2013 22:42:37 +0000 (23:42 +0100)]
dca: extract core substream's embedded downmix coeffcient codes, if present.

As per ETSI TS 102 114 V1.4.1 specification.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agodca: remove embedded downmix coefficient extraction.
Tim Walker [Fri, 22 Nov 2013 19:25:57 +0000 (20:25 +0100)]
dca: remove embedded downmix coefficient extraction.

It was based on an old, seemingly incorrect specification, so default
coefficients were always used anyway.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agodca: convert dca_default_coeffs to float.
Tim Walker [Fri, 22 Nov 2013 19:19:55 +0000 (20:19 +0100)]
dca: convert dca_default_coeffs to float.

Easier to read, modify, and avoids relying on an outdated table.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agodcadec: store the stereo downmix coefficients as float in the DCAContext.
Tim Walker [Fri, 22 Nov 2013 19:17:57 +0000 (20:17 +0100)]
dcadec: store the stereo downmix coefficients as float in the DCAContext.

The 7-bit codes previously used are absent from the ETSI 102 114 V1.4.1 spec.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agodcadec: implement request_channel_layout.
Tim Walker [Sat, 23 Nov 2013 22:36:21 +0000 (23:36 +0100)]
dcadec: implement request_channel_layout.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agox86: dsputil: Suppress deprecation warnings for XvMC bits
Diego Biurrun [Mon, 25 Nov 2013 18:57:13 +0000 (18:57 +0000)]
x86: dsputil: Suppress deprecation warnings for XvMC bits

These parts are scheduled for removal on the next version bump.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years agodsputil/pngdsp: fix signed/unsigned type in end comparison
Michael Niedermayer [Fri, 30 Aug 2013 21:14:32 +0000 (23:14 +0200)]
dsputil/pngdsp: fix signed/unsigned type in end comparison

Fixes out of array accesses and integer overflows.

10 years agoconfigure: add strip flags checks
Vittorio Giovara [Mon, 25 Nov 2013 08:46:14 +0000 (08:46 +0000)]
configure: add strip flags checks

This will check if -wN '..@*' is available and fall back on -x if not;
when none are available, do not run strip at all to prevent removing
functions that might be actually needed.

10 years agoh263dec: sanitize a condition.
Anton Khirnov [Tue, 26 Nov 2013 10:07:22 +0000 (11:07 +0100)]
h263dec: sanitize a condition.

Call ff_mpeg4_decode_picture_header() only when the decoder has the
MPEG4 codec id, not based on a vaguely related value of h263_pred.

10 years agoh264_refs: make sure not to write over the bounds of the default ref list
Anton Khirnov [Fri, 15 Nov 2013 18:06:23 +0000 (19:06 +0100)]
h264_refs: make sure not to write over the bounds of the default ref list

Fixes invalid writes.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org

10 years agodoc/platform: Update to reflect current MSVC build situation
Derek Buitenhuis [Mon, 25 Nov 2013 13:45:35 +0000 (13:45 +0000)]
doc/platform: Update to reflect current MSVC build situation

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agoAdd an audio transcoding example.
Andreas Unterweger [Tue, 8 Oct 2013 11:10:46 +0000 (13:10 +0200)]
Add an audio transcoding example.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agobuild: Check for pod2man instead of perl for manual page generation
Diego Biurrun [Tue, 26 Nov 2013 19:37:54 +0000 (11:37 -0800)]
build: Check for pod2man instead of perl for manual page generation

Some systems provide Perl without pod2man.

10 years agoconfigure: Restore doc option to disable building the documentation
Diego Biurrun [Mon, 25 Nov 2013 23:19:57 +0000 (15:19 -0800)]
configure: Restore doc option to disable building the documentation

Also add appropriate dependency declarations for perl and texi2html.

10 years agoMakefile: Fix building programs on systems with a nonempty executable suffix
Martin Storsjö [Tue, 26 Nov 2013 10:10:03 +0000 (12:10 +0200)]
Makefile: Fix building programs on systems with a nonempty executable suffix

This fixes leftover issues from 14abeaa4 which caused make
rules for programs to not match up properly when the executable
suffix was nonempty.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agolavc: remove mp3_header_(de)compress bitstream filters
Anton Khirnov [Sun, 24 Nov 2013 13:14:13 +0000 (14:14 +0100)]
lavc: remove mp3_header_(de)compress bitstream filters

They mangle the mp3 header in a non-standard way to save a few bytes.
People who care about space so much should just use a more efficient
codec.

10 years agompeg12dec: Extract CC user data into frame side data
John Stebbins [Mon, 25 Nov 2013 23:57:28 +0000 (15:57 -0800)]
mpeg12dec: Extract CC user data into frame side data

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agoMSN Audio support
Kostya Shishkov [Sat, 7 Sep 2013 19:06:22 +0000 (21:06 +0200)]
MSN Audio support

This is essentially a MS GSM decoder extension that supports more
sampling rates and lower bitrates.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agometasound: add last missing modes (8kHz @ 6kbps per channel)
Kostya Shishkov [Mon, 18 Nov 2013 11:07:14 +0000 (12:07 +0100)]
metasound: add last missing modes (8kHz @ 6kbps per channel)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agovc1: Reset numref if fieldmode is not set
Kostya Shishkov [Mon, 25 Nov 2013 13:04:41 +0000 (14:04 +0100)]
vc1: Reset numref if fieldmode is not set

There are samples in the wild with B-frames and P-frames with different
interlace mode.

CC: libav-stable@libav.org
Reported-by: Jean-Baptiste Kempf <jb@videolan.org>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years agoaacsbr: Add some const casts to silence warnings in ff_sbr_apply()
Diego Biurrun [Sat, 23 Nov 2013 02:14:27 +0000 (03:14 +0100)]
aacsbr: Add some const casts to silence warnings in ff_sbr_apply()

10 years agobuild: Integrate multilibrary examples into the build system
Diego Biurrun [Sat, 2 Nov 2013 16:05:28 +0000 (17:05 +0100)]
build: Integrate multilibrary examples into the build system

This includes moving libavformat/output-example to doc/examples/output.

10 years agobuild: Separate building programs linking against libav* from building av*
Diego Biurrun [Sat, 2 Nov 2013 15:44:18 +0000 (16:44 +0100)]
build: Separate building programs linking against libav* from building av*

This will allow cleaner integration of building example programs.

10 years agodoc: Add the host executable suffix for the print_options dependency
Martin Storsjö [Sun, 24 Nov 2013 21:11:59 +0000 (23:11 +0200)]
doc: Add the host executable suffix for the print_options dependency

This fixes building on windows.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agobuild: Import makedef script from c99-to-c89
Derek Buitenhuis [Thu, 21 Nov 2013 10:36:06 +0000 (10:36 +0000)]
build: Import makedef script from c99-to-c89

This allows MSVC 2013 and ICL to build with no external
dependencies.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agoAdd missing #includes for *INT64_MAX and *INT64_C
Diego Biurrun [Sat, 23 Nov 2013 20:32:55 +0000 (21:32 +0100)]
Add missing #includes for *INT64_MAX and *INT64_C

10 years agompegaudiodec: Consistently handle fixed/float templating
Diego Biurrun [Tue, 19 Nov 2013 20:47:39 +0000 (21:47 +0100)]
mpegaudiodec: Consistently handle fixed/float templating

10 years agoac3dec: Fix out-of-array read
Tim Walker [Sat, 23 Nov 2013 17:29:21 +0000 (18:29 +0100)]
ac3dec: Fix out-of-array read

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agobuild: more fine-grained dependencies for documentation build tools
Diego Biurrun [Fri, 22 Nov 2013 00:57:56 +0000 (16:57 -0800)]
build: more fine-grained dependencies for documentation build tools

Perl is needed to build the manual pages, texi2html for the HTML pages.

10 years agolibschroedingerenc: do not assert on values from external libraries
Alexandra Khirnova [Thu, 21 Nov 2013 21:06:31 +0000 (22:06 +0100)]
libschroedingerenc: do not assert on values from external libraries

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agoavconv: add support for VDPAU decoding
Anton Khirnov [Sun, 3 Nov 2013 18:21:00 +0000 (19:21 +0100)]
avconv: add support for VDPAU decoding

10 years agoavconv: add infrastructure for using hwaccels
Anton Khirnov [Sat, 2 Nov 2013 21:06:36 +0000 (22:06 +0100)]
avconv: add infrastructure for using hwaccels

10 years agoac3dec: Remove write-only channel_layout field from AC3DecodeContext
Tim Walker [Fri, 22 Nov 2013 16:25:49 +0000 (17:25 +0100)]
ac3dec: Remove write-only channel_layout field from AC3DecodeContext

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agoac3: implement request_channel_layout.
Tim Walker [Fri, 22 Nov 2013 16:25:48 +0000 (17:25 +0100)]
ac3: implement request_channel_layout.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agoswscale: x86: Consistently use lowercase function name suffixes
Diego Biurrun [Thu, 21 Nov 2013 15:30:00 +0000 (16:30 +0100)]
swscale: x86: Consistently use lowercase function name suffixes

10 years agohls: Avoid reading outside of the allocated array
Martin Storsjö [Thu, 21 Nov 2013 09:53:58 +0000 (11:53 +0200)]
hls: Avoid reading outside of the allocated array

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agohls: Check whether the AVIOContext contains a new redirected URL
Martin Storsjö [Thu, 21 Nov 2013 09:31:53 +0000 (11:31 +0200)]
hls: Check whether the AVIOContext contains a new redirected URL

This allows both the main playlist itself as well as the variant
playlists to handle redirects combined with relative URLs.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agohttp: Expose the content location via an AVOption
Martin Storsjö [Thu, 21 Nov 2013 09:25:16 +0000 (11:25 +0200)]
http: Expose the content location via an AVOption

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agohttp: Support relative URL redirection
Zhang Rui [Thu, 4 Jul 2013 09:18:52 +0000 (17:18 +0800)]
http: Support relative URL redirection

In RFC 2616, this was explicitly said to be an absolute URL,
while in an upcoming draft [1] it is allowed to be relative as well.

[1] http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-25#section-7.1.2

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agohttp: Remove an unrelated and mistakenly set AVOption unit name
Martin Storsjö [Wed, 20 Nov 2013 12:53:56 +0000 (14:53 +0200)]
http: Remove an unrelated and mistakenly set AVOption unit name

This was due to a copypaste oversight.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agoaacps: Adjust some const qualifiers to suppress warnings
Diego Biurrun [Mon, 4 Nov 2013 18:14:12 +0000 (19:14 +0100)]
aacps: Adjust some const qualifiers to suppress warnings

10 years agopcx: round up in bits->bytes conversion in a buffer size check
Anton Khirnov [Fri, 15 Nov 2013 18:06:23 +0000 (19:06 +0100)]
pcx: round up in bits->bytes conversion in a buffer size check

Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org

10 years agotruemotion1: make sure index does not go out of bounds
Anton Khirnov [Fri, 15 Nov 2013 18:06:23 +0000 (19:06 +0100)]
truemotion1: make sure index does not go out of bounds

Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org

10 years agoavidec: fix a memleak in the dv init code.
Anton Khirnov [Fri, 15 Nov 2013 18:06:23 +0000 (19:06 +0100)]
avidec: fix a memleak in the dv init code.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org

10 years agovc1: fix a memleak.
Anton Khirnov [Fri, 15 Nov 2013 14:33:20 +0000 (15:33 +0100)]
vc1: fix a memleak.

Happens on a B-frame when neither low_delay nor last_picture_ptr is set
(probably corrupted streams only).

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
10 years agomotionpixels: clip VLC codes.
Anton Khirnov [Fri, 15 Nov 2013 14:33:20 +0000 (15:33 +0100)]
motionpixels: clip VLC codes.

Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org

10 years agomatroskadec: use correct compression parameters for current track CodecPrivate
Aurelien Jacobs [Sun, 21 Aug 2011 14:03:13 +0000 (16:03 +0200)]
matroskadec: use correct compression parameters for current track CodecPrivate

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agomatroskadec: pad EBML_BIN data.
Anton Khirnov [Fri, 15 Nov 2013 09:15:24 +0000 (10:15 +0100)]
matroskadec: pad EBML_BIN data.

It might be passed to code requiring padding, such as lzo decompression.

Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org

10 years agoh264: check buffer size before accessing it
Anton Khirnov [Fri, 15 Nov 2013 09:15:24 +0000 (10:15 +0100)]
h264: check buffer size before accessing it

Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org

10 years agogifdec: convert to bytestream2
Anton Khirnov [Fri, 15 Nov 2013 09:23:04 +0000 (10:23 +0100)]
gifdec: convert to bytestream2

10 years agogifdec: check that the image dimensions are non-zero
Anton Khirnov [Fri, 15 Nov 2013 09:15:24 +0000 (10:15 +0100)]
gifdec: check that the image dimensions are non-zero

Also add an error message an return a more suitable error code
(INVALIDDATA, not EINVAL);
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org

10 years agoh264_cavlc: check the size of the intra PCM data.
Anton Khirnov [Fri, 15 Nov 2013 08:42:26 +0000 (09:42 +0100)]
h264_cavlc: check the size of the intra PCM data.

Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org

10 years agodct/fft: Give consistent names to fixed/float template files
Diego Biurrun [Tue, 19 Nov 2013 20:17:53 +0000 (21:17 +0100)]
dct/fft: Give consistent names to fixed/float template files

10 years agofilter docs: reference scale and fps filters
Vittorio Giovara [Wed, 20 Nov 2013 16:35:39 +0000 (17:35 +0100)]
filter docs: reference scale and fps filters

10 years agoavconv_filter: add new line after error message
Vittorio Giovara [Wed, 20 Nov 2013 16:58:09 +0000 (17:58 +0100)]
avconv_filter: add new line after error message

10 years agofate: add one select filter test
Vittorio Giovara [Sun, 17 Nov 2013 16:22:56 +0000 (17:22 +0100)]
fate: add one select filter test

This test selects alternate frames from input.

10 years agompeg4videoenc: restore macro parentheses
Vittorio Giovara [Tue, 19 Nov 2013 15:45:51 +0000 (16:45 +0100)]
mpeg4videoenc: restore macro parentheses

These were erroneously removed in 8769113accf1f3b78634dec60b37f7354ed6d88d.

10 years agoconfigure: Avoid requiring c99wrap for working around msys path issues
Martin Storsjö [Thu, 14 Nov 2013 09:58:37 +0000 (11:58 +0200)]
configure: Avoid requiring c99wrap for working around msys path issues

Msys is unable to convert unix style absolute paths to windows style
paths when combined with certain multichar MSVC options such as
-Fo<file>. We used to work around this issue by passing them as two
separate parameters separated by a space to c99wrap, which then mapped
them back to the actual parameter format that MSVC uses.

The only paths that actually are an issue are absolute unix style
paths, and the only place such absolute paths are used with the output
arguments (-Fo, -Fe, -Fi, -out:) are for the temp files within configure.

By setting TMPDIR to . for msvc/icl builds, we never need to use
absolute unix style paths for the file output, and we can use the
actual proper form of the file output parameters. This avoids requiring
the c99wrap wrapper for remapping the parameters for cases where the
c99 converter isn't invoked at all (MSVC2013 and ICL).

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agolibxavs: rename and fix a variable name
Sean McGovern [Tue, 19 Nov 2013 21:51:45 +0000 (16:51 -0500)]
libxavs: rename and fix a variable name

It was mis-spelled in b18c7c8d3ddfbf171fe0aba1c201a002920af7f7.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agowin{32,64}: Hard disable symbol versioning
Derek Buitenhuis [Tue, 19 Nov 2013 17:53:00 +0000 (17:53 +0000)]
win{32,64}: Hard disable symbol versioning

ICL doesn't return an error on unknown parameters, and will
always pass the symver_gnu_asm test, and since Windows
never has symbol versioning, just always disable it.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agoac3dec: simplify an expression
Tim Walker [Mon, 18 Nov 2013 11:41:47 +0000 (12:41 +0100)]
ac3dec: simplify an expression

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agodv_tablegen: Remove CONFIG_SMALL preprocessor check
Diego Biurrun [Sun, 10 Nov 2013 21:12:55 +0000 (22:12 +0100)]
dv_tablegen: Remove CONFIG_SMALL preprocessor check

The code does in no way depend on CONFIG_SMALL.

10 years agoavcodec.h: include version.h before using version macro
Vittorio Giovara [Mon, 18 Nov 2013 16:02:04 +0000 (17:02 +0100)]
avcodec.h: include version.h before using version macro

10 years agovf_interlace: check one av_frame_clone allocation
Vittorio Giovara [Mon, 11 Nov 2013 00:04:17 +0000 (01:04 +0100)]
vf_interlace: check one av_frame_clone allocation

10 years agohevc_sei: drop unused parameter
Vittorio Giovara [Sun, 10 Nov 2013 23:29:51 +0000 (00:29 +0100)]
hevc_sei: drop unused parameter

10 years agompeg4videodec: K&R formatting cosmetics
Vittorio Giovara [Mon, 28 Oct 2013 17:30:13 +0000 (18:30 +0100)]
mpeg4videodec: K&R formatting cosmetics

10 years agompeg4videoenc: K&R formatting cosmetics
Vittorio Giovara [Mon, 28 Oct 2013 17:30:01 +0000 (18:30 +0100)]
mpeg4videoenc: K&R formatting cosmetics

10 years agoconfigure: Don't use symlinks for creating the out of tree makefile
Martin Storsjö [Thu, 14 Nov 2013 11:22:11 +0000 (13:22 +0200)]
configure: Don't use symlinks for creating the out of tree makefile

On some platforms (such as msys), symlinks are (poorly) emulated
by simply creating a copy of the file.

This means that when building out of tree, the build tree gets
a copy of the original makefile, which can lead to unintuitive
build errors when the original makefile gets updated later.

Instead simply create a stub makefile which includes the real
one.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agompegvideo: Fix swapping of UV planes for VCR2
Kostya Shishkov [Wed, 13 Nov 2013 17:44:26 +0000 (18:44 +0100)]
mpegvideo: Fix swapping of UV planes for VCR2