OSDN Git Service

android-x86/external-ffmpeg.git
9 years agoapetag: Fix APE tag size check
Katerina Barone-Adesi [Mon, 15 Sep 2014 23:40:24 +0000 (01:40 +0200)]
apetag: Fix APE tag size check

The size variable is (correctly) unsigned, but is passed to several functions
which take signed parameters, such as avio_read, sometimes after having
numbers added to it. So ensure that size remains within the bounds that
these functions can handle.

CC: libav-stable@libav.org
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agofate: Add tests for RealAudio 1.0 (14.4) and RealAudio 2.0 (with 28.8)
Katerina Barone-Adesi [Mon, 21 Jul 2014 21:28:42 +0000 (23:28 +0200)]
fate: Add tests for RealAudio 1.0 (14.4) and RealAudio 2.0 (with 28.8)

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agocmdutils: Print a more sensible message in show_filters() w/o libavfilter
Diego Biurrun [Tue, 2 Sep 2014 21:25:33 +0000 (23:25 +0200)]
cmdutils: Print a more sensible message in show_filters() w/o libavfilter

Also avoid an unused variable warning for compilers w/o av_unused support.

9 years agodca: K&R formatting cosmetics
Gabriel Dume [Mon, 8 Sep 2014 17:40:26 +0000 (13:40 -0400)]
dca: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agoconfigure: Disable i686 for i586 and lower CPUs
Mikulas Patocka [Mon, 15 Sep 2014 12:11:21 +0000 (05:11 -0700)]
configure: Disable i686 for i586 and lower CPUs

9 years agoconfigure: Split adding of CFLAGS and CPPFLAGS for hardened toolchain
Diego Biurrun [Wed, 30 Jul 2014 12:09:47 +0000 (05:09 -0700)]
configure: Split adding of CFLAGS and CPPFLAGS for hardened toolchain

9 years agoismindex: handle time discontinuities and nonzero start time
Mika Raento [Sun, 14 Sep 2014 16:00:56 +0000 (19:00 +0300)]
ismindex: handle time discontinuities and nonzero start time

The input file may not have consistent start times, stream durations and
chunk durations. This patch at least removes negative durations that
make chromecast unhappy, and correctly sets starting time on chunks so
that the split (or .ismf) outputs match the manifest.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agodoc: Fix syntax and logical errors in avconv stream combination example
Diego Biurrun [Wed, 10 Sep 2014 16:38:15 +0000 (18:38 +0200)]
doc: Fix syntax and logical errors in avconv stream combination example

Bug-Id: 661
CC: libav-stable@libav.org
9 years agodv: K&R formatting cosmetics
Gabriel Dume [Mon, 8 Sep 2014 17:40:28 +0000 (13:40 -0400)]
dv: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agox86inc: Make INIT_CPUFLAGS support an arbitrary number of cpuflags
Henrik Gramner [Thu, 4 Sep 2014 22:13:38 +0000 (00:13 +0200)]
x86inc: Make INIT_CPUFLAGS support an arbitrary number of cpuflags

Previously there was a limit of two cpuflags.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agox86inc: Free up variable name "n" in global namespace
Loren Merritt [Thu, 4 Sep 2014 22:13:37 +0000 (00:13 +0200)]
x86inc: Free up variable name "n" in global namespace

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agox86inc: Make ym# behave the same way as xm#
Henrik Gramner [Thu, 4 Sep 2014 22:13:34 +0000 (00:13 +0200)]
x86inc: Make ym# behave the same way as xm#

This makes more sense for future implementations of templates with zmm registers.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agodirac: K&R formatting cosmetics
Gabriel Dume [Mon, 8 Sep 2014 22:32:34 +0000 (18:32 -0400)]
dirac: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agotime: Add missing zero
Gabriel Dume [Mon, 8 Sep 2014 19:20:42 +0000 (15:20 -0400)]
time: Add missing zero

Leftover of 56d7df91e010a177a80cfc8dbe394305

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agoSplit off floating point AAN (I)DCT into separate components
Diego Biurrun [Fri, 29 Aug 2014 02:32:45 +0000 (19:32 -0700)]
Split off floating point AAN (I)DCT into separate components

9 years agoismindex: Avoid writing ismf files if no base name has been specified
Martin Storsjö [Fri, 5 Sep 2014 19:50:24 +0000 (22:50 +0300)]
ismindex: Avoid writing ismf files if no base name has been specified

Previously, this could create files named "(null).ismf", if the -ismf
parameter is specified (before an input file name), but without
specifying any base name.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agolibavformat: Check mkdir return error codes
Martin Storsjö [Fri, 5 Sep 2014 19:45:11 +0000 (22:45 +0300)]
libavformat: Check mkdir return error codes

Previously, the returned error codes were intentionally ignored
(see fadd3a68213), to avoid aborting if the directory already
existed. If the mkdir actually failed, this was caught when
opening files within the directory fails anyway.

By handling the error code here (but explicitly ignoring EEXIST),
the error messages and return codes in these cases are more
appropriate and less confusing.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoavplay: Exit by default at the end of playback
Diego Biurrun [Tue, 2 Sep 2014 22:45:21 +0000 (00:45 +0200)]
avplay: Exit by default at the end of playback

This is the expected behavior shared by all other cli multimedia players.

Bug-Id: 732

9 years agoDrop unnecessary av_unused attributes.
Diego Biurrun [Tue, 2 Sep 2014 21:25:07 +0000 (23:25 +0200)]
Drop unnecessary av_unused attributes.

9 years agoReplace av_unused attributes by block structures
Diego Biurrun [Tue, 2 Sep 2014 21:23:03 +0000 (23:23 +0200)]
Replace av_unused attributes by block structures

This is more portable and avoids warnings with compilers that do not
properly support av_unused.

9 years agordft: Move some variables into a separate block
Diego Biurrun [Fri, 29 Aug 2014 14:56:20 +0000 (16:56 +0200)]
rdft: Move some variables into a separate block

This avoids an unused variable warning with hardcoded tables.

9 years agoget_bits: Add OPEN_READER macro variant w/o size_plus8
Diego Biurrun [Fri, 22 Aug 2014 12:37:39 +0000 (14:37 +0200)]
get_bits: Add OPEN_READER macro variant w/o size_plus8

This avoids a trillion warnings from MSVC.

9 years agoismindex: produce .ismf file
Mika Raento [Thu, 4 Sep 2014 15:09:46 +0000 (18:09 +0300)]
ismindex: produce .ismf file

This is a non-standard file that maps the MSS segment names to offsets
in the ISMV file. This can be used to build a custom MSS streaming
server without splitting the ISMV into separate files.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agochangelog: Move Ogg subtypes aliases entry to the correct release
Diego Biurrun [Thu, 4 Sep 2014 15:30:39 +0000 (08:30 -0700)]
changelog: Move Ogg subtypes aliases entry to the correct release

9 years agoMark 11 release in the changelog
Diego Biurrun [Tue, 2 Sep 2014 22:43:29 +0000 (00:43 +0200)]
Mark 11 release in the changelog

Also fix some typos in the entries for the 11 release.

9 years agoAdd release notes for 11.
Anton Khirnov [Mon, 18 Aug 2014 18:04:47 +0000 (18:04 +0000)]
Add release notes for 11.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agovc1: Split bits used in libavformat into a separate header
Diego Biurrun [Mon, 1 Sep 2014 20:57:24 +0000 (13:57 -0700)]
vc1: Split bits used in libavformat into a separate header

This reduces inter-library dependencies.

9 years agobuild: Split WMA frequencies into a separate object file
Diego Biurrun [Wed, 3 Sep 2014 10:27:27 +0000 (03:27 -0700)]
build: Split WMA frequencies into a separate object file

These are the only WMA bits shared with binkaudio. Splitting them off
reduces the binnkaudio dependency on general WMA code.

9 years agobuild: cosmetics: Group hwaccel OBJS declarations together
Diego Biurrun [Mon, 1 Sep 2014 12:35:58 +0000 (05:35 -0700)]
build: cosmetics: Group hwaccel OBJS declarations together

9 years agofdctdsp: cosmetics: Drop one unnecessary if-block level
Diego Biurrun [Thu, 28 Aug 2014 19:49:38 +0000 (12:49 -0700)]
fdctdsp: cosmetics: Drop one unnecessary if-block level

9 years agowma: K&R formatting cosmetics
Gabriel Dume [Tue, 2 Sep 2014 19:28:50 +0000 (15:28 -0400)]
wma: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agoismindex: recover from completely empty streams
Mika Raento [Wed, 3 Sep 2014 06:13:46 +0000 (09:13 +0300)]
ismindex: recover from completely empty streams

This creates best-effort results from input that is missing stream
contents, there are warnings printed when this happens.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortpdec: HEVC/H.265 support
Thomas Volkert [Tue, 26 Aug 2014 19:00:03 +0000 (21:00 +0200)]
rtpdec: HEVC/H.265 support

As specified in draft-ietf-payload-rtp-h265-06.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agotime: Use clock_gettime if the monotonic clock is available
Luca Barbato [Sun, 24 Aug 2014 16:14:47 +0000 (18:14 +0200)]
time: Use clock_gettime if the monotonic clock is available

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agox11grab: Refactor pixel format parsing
Luca Barbato [Sun, 10 Aug 2014 15:32:18 +0000 (17:32 +0200)]
x11grab: Refactor pixel format parsing

9 years agox11grab: Fallback to normal XImage if SHM is not supported
Luca Barbato [Sat, 9 Aug 2014 19:37:02 +0000 (21:37 +0200)]
x11grab: Fallback to normal XImage if SHM is not supported

9 years agoppc: Support little endian intreadwrite
Luca Barbato [Thu, 28 Aug 2014 17:40:45 +0000 (19:40 +0200)]
ppc: Support little endian intreadwrite

9 years agompegts: Allow custom max resync size
Luca Barbato [Mon, 25 Aug 2014 10:11:32 +0000 (12:11 +0200)]
mpegts: Allow custom max resync size

9 years agotexi2pod: Make it output a single encoding string
Luca Barbato [Sun, 31 Aug 2014 23:30:44 +0000 (01:30 +0200)]
texi2pod: Make it output a single encoding string

Intermixing =encoding utf-8 in the file can confuse some pod2man
implementations.

9 years agox265: Use the encoder defaults
Luca Barbato [Thu, 28 Aug 2014 01:49:05 +0000 (03:49 +0200)]
x265: Use the encoder defaults

Reset the settings as it is done for x264.

9 years agowmv2: K&R formatting cosmetics
Gabriel Dume [Tue, 2 Sep 2014 19:28:51 +0000 (15:28 -0400)]
wmv2: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agoxvid: Add C IDCT
Pascal Massimino [Wed, 27 Aug 2014 00:58:10 +0000 (02:58 +0200)]
xvid: Add C IDCT

Thanks to Pascal Massimino and Michael Militzer for relicensing as LGPL.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agoidctdsp: Add global function pointers for {add|put}_pixels_clamped functions
Diego Biurrun [Sun, 31 Aug 2014 18:45:15 +0000 (11:45 -0700)]
idctdsp: Add global function pointers for {add|put}_pixels_clamped functions

These function pointers already existed in the ARM code. Adding them globally
allows calls to the function pointers to access arch-optimized versions of the
functions transparently.

9 years agoget_bits: Rename HAVE_BITS_REMAINING --> BITS_AVAILABLE
Diego Biurrun [Fri, 22 Aug 2014 10:36:12 +0000 (12:36 +0200)]
get_bits: Rename HAVE_BITS_REMAINING --> BITS_AVAILABLE

The HAVE_ prefix is reserved for macros set by configure.

9 years agoflv: K&R formatting cosmetics
Gabriel Dume [Mon, 1 Sep 2014 19:18:59 +0000 (15:18 -0400)]
flv: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agoasv: K&R formatting cosmetics
Gabriel Dume [Mon, 1 Sep 2014 19:18:58 +0000 (15:18 -0400)]
asv: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago8svx: Return proper error codes
Gabriel Dume [Mon, 1 Sep 2014 19:18:57 +0000 (15:18 -0400)]
8svx: Return proper error codes

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agoismindex: improve diagnostics
Mika Raento [Mon, 1 Sep 2014 13:16:49 +0000 (16:16 +0300)]
ismindex: improve diagnostics

This improves error messages for completely and somewhat broken inputs.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agompeg4videodec: Fix low_delay error message
Gabriel Dume [Sat, 30 Aug 2014 02:43:44 +0000 (22:43 -0400)]
mpeg4videodec: Fix low_delay error message

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agoaac_adtstoasc_bsf: Return proper error code
Gabriel Dume [Sat, 30 Aug 2014 02:43:43 +0000 (22:43 -0400)]
aac_adtstoasc_bsf: Return proper error code

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agodxva2: Clean up definition of _WIN32_WINNT
Diego Biurrun [Fri, 15 Aug 2014 19:01:15 +0000 (21:01 +0200)]
dxva2: Clean up definition of _WIN32_WINNT

Only set a value if _WIN32_WINNT is undefined or smaller than 0x0600. This is
cleaner than unconditional definition and avoids a number of redefinition
warnings. Also only define a value in one of the two dxva2 headers.

9 years agodxva2: Pass variable of correct type to IDirectXVideoDecoder_GetBuffer()
Diego Biurrun [Fri, 15 Aug 2014 18:51:01 +0000 (20:51 +0200)]
dxva2: Pass variable of correct type to IDirectXVideoDecoder_GetBuffer()

This avoids related incompatible pointer type warnings.

9 years agoavcodec: fix missing doxygen comment marker
Michael Niedermayer [Sun, 31 Aug 2014 23:48:50 +0000 (00:48 +0100)]
avcodec: fix missing doxygen comment marker

9 years agolicense: Mention that vf_interlace is GPL, not LGPL
Diego Biurrun [Wed, 27 Aug 2014 11:14:20 +0000 (13:14 +0200)]
license: Mention that vf_interlace is GPL, not LGPL

9 years agomatroskaenc: convert avstream stereo3d side data during encoding
Vittorio Giovara [Tue, 5 Aug 2014 10:16:17 +0000 (11:16 +0100)]
matroskaenc: convert avstream stereo3d side data during encoding

Write the StereoMode Embl to bitstream.

9 years agomatroskadec: parse stereo mode on decoding
Vittorio Giovara [Tue, 12 Aug 2014 21:28:49 +0000 (22:28 +0100)]
matroskadec: parse stereo mode on decoding

Convert the Matroska stereo format to the Stereo3D format, and add a
Stereo3D side data to the stream.

Bump the doctype version supported.

Bug-Id: 728 / https://bugs.debian.org/757185

9 years agoavcodec: add stream-level stereo3d side data
Vittorio Giovara [Wed, 23 Jul 2014 08:21:28 +0000 (09:21 +0100)]
avcodec: add stream-level stereo3d side data

9 years agomatroska: list supported extensions
Vittorio Giovara [Wed, 23 Jul 2014 08:49:24 +0000 (09:49 +0100)]
matroska: list supported extensions

9 years agox11grab: Use a typedef for the context, as most other code does
Luca Barbato [Wed, 27 Aug 2014 02:43:50 +0000 (04:43 +0200)]
x11grab: Use a typedef for the context, as most other code does

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agox11grab: Drop a spurious space in the extension reporting message
Luca Barbato [Wed, 27 Aug 2014 02:43:49 +0000 (04:43 +0200)]
x11grab: Drop a spurious space in the extension reporting message

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agox11grab: Small near-cosmetic refactorings
Luca Barbato [Wed, 27 Aug 2014 02:43:48 +0000 (04:43 +0200)]
x11grab: Small near-cosmetic refactorings

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agox11grab: K&R formatting cosmetics
Luca Barbato [Wed, 27 Aug 2014 02:43:47 +0000 (04:43 +0200)]
x11grab: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agox86: xvid: K&R formatting cosmetics
Diego Biurrun [Wed, 27 Aug 2014 00:58:08 +0000 (02:58 +0200)]
x86: xvid: K&R formatting cosmetics

9 years agocosmetics: Make naming scheme of Xvid IDCT consistent with other IDCTs
Diego Biurrun [Wed, 27 Aug 2014 00:58:07 +0000 (02:58 +0200)]
cosmetics: Make naming scheme of Xvid IDCT consistent with other IDCTs

9 years agox86: xvid_idct: Drop unused definitions
Diego Biurrun [Wed, 27 Aug 2014 00:58:06 +0000 (02:58 +0200)]
x86: xvid_idct: Drop unused definitions

9 years agopulse: Set the wallclock option as default
Luca Barbato [Sun, 24 Aug 2014 12:13:45 +0000 (14:13 +0200)]
pulse: Set the wallclock option as default

9 years agovc1: Initialize start_code_found to 0
Luca Barbato [Wed, 27 Aug 2014 00:50:58 +0000 (02:50 +0200)]
vc1: Initialize start_code_found to 0

Leftover of a4d3c20035946cbc1509aec2dc28d51c2a2f9a8e.

9 years agoavconv: fix parsing the AVOptions for -target
Anton Khirnov [Tue, 26 Aug 2014 06:26:35 +0000 (06:26 +0000)]
avconv: fix parsing the AVOptions for -target

CC: libav-stable@libav.org
9 years agoavconv: fix the muxrate values for -target
Anton Khirnov [Mon, 25 Aug 2014 21:24:35 +0000 (21:24 +0000)]
avconv: fix the muxrate values for -target

The mpegenc private option values are in 50-byte units.

CC: libav-stable@libav.org
9 years agompegenc: limit the maximum muxrate
Anton Khirnov [Mon, 25 Aug 2014 21:21:57 +0000 (21:21 +0000)]
mpegenc: limit the maximum muxrate

It is written to the file as a 22-bit value.

CC: libav-stable@libav.org
9 years agoh264: fully check cropping amount from sps
Vittorio Giovara [Tue, 26 Aug 2014 00:40:19 +0000 (20:40 -0400)]
h264: fully check cropping amount from sps

Even if sps.crop is true, the cropping amount may be zero.
Fixes a sample with a valid but broken container cropping.

9 years agolibxvid: K&R formatting cosmetics
Gabriel Dume [Wed, 20 Aug 2014 21:25:21 +0000 (17:25 -0400)]
libxvid: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agodoc: fix a typo
Gabriel Dume [Mon, 25 Aug 2014 19:28:02 +0000 (15:28 -0400)]
doc: fix a typo

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agoos_support: Adjust an outdated #endif comment
Diego Biurrun [Fri, 15 Aug 2014 07:46:03 +0000 (09:46 +0200)]
os_support: Adjust an outdated #endif comment

9 years agompeg: Write H264 streams at offset 2
Luca Barbato [Fri, 8 Aug 2014 11:05:12 +0000 (13:05 +0200)]
mpeg: Write H264 streams at offset 2

It hints that the content is H264 according to HD-DVD.

9 years agovc1: Fix the skip condition
Luca Barbato [Sun, 24 Aug 2014 17:34:13 +0000 (19:34 +0200)]
vc1: Fix the skip condition

As written in the comment above, skip must be added only if a
start code is found.

9 years agovfwcap: Add fallback define for HWND_MESSAGE
Diego Biurrun [Mon, 25 Aug 2014 15:26:15 +0000 (17:26 +0200)]
vfwcap: Add fallback define for HWND_MESSAGE

Some obsolete versions of the MinGW32 runtime (<4.0.0) lack the definition.

9 years agolibavformat: use MSG_NOSIGNAL when applicable
Rémi Denis-Courmont [Wed, 20 Aug 2014 20:06:07 +0000 (23:06 +0300)]
libavformat: use MSG_NOSIGNAL when applicable

If the remote end of a connection oriented socket hangs up, generating
an EPIPE error is preferable over an unhandled SIGPIPE signal.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agolavf: add AVFormatContext.max_ts_probe
Anton Khirnov [Tue, 19 Aug 2014 17:49:58 +0000 (17:49 +0000)]
lavf: add AVFormatContext.max_ts_probe

It allows to configure how long will avformat_find_stream_info() wait
to get the first timestamp.

9 years agodoc/APIchanges: fill in missing hashes and dates
Anton Khirnov [Sun, 18 May 2014 08:52:41 +0000 (10:52 +0200)]
doc/APIchanges: fill in missing hashes and dates

9 years agopulse: Add a wallclock option to be compatible with other other captures
Luca Barbato [Sat, 23 Aug 2014 17:03:21 +0000 (19:03 +0200)]
pulse: Add a wallclock option to be compatible with other other captures

alsa and x11grab use av_gettime() to report timestamps.

Bug-Id: 647

9 years agoconfigure: add --enable-rpath
Reinhard Tartler [Sat, 23 Aug 2014 14:04:26 +0000 (10:04 -0400)]
configure: add --enable-rpath

This option facilitates testing shared libarary builds: for instance
fate builders do no longer need to set LD_LIBRARY_PATH as the binaries will
get the right search paths hardcoded into their executable file.

This option is only meant to be used for testing purposes: The installed
libraries must not move around in the file system, and doing so will
cause a lot of subtle problems. For more information why using RPATH is
dangerous, please refer to

https://blog.flameeyes.eu/2010/06/the-why-and-how-of-rpath

9 years agoPrepare for 11_beta2 Release
Reinhard Tartler [Sat, 23 Aug 2014 14:12:16 +0000 (10:12 -0400)]
Prepare for 11_beta2 Release

9 years agoogg: Use separate classes for the aliases
Luca Barbato [Sat, 23 Aug 2014 00:42:18 +0000 (02:42 +0200)]
ogg: Use separate classes for the aliases

Unbreak 051aadeed104ecbe8ee4850ec2d7e5394f5e1ccd

9 years agoqt-faststart: Undefine fseeko/ftello before defining them
Diego Biurrun [Fri, 15 Aug 2014 19:43:48 +0000 (21:43 +0200)]
qt-faststart: Undefine fseeko/ftello before defining them

This avoids a number of redefinition warnings on MinGW64.

9 years agoos_support: Undefine lseek/stat/fstat before defining them
Diego Biurrun [Fri, 15 Aug 2014 19:42:56 +0000 (21:42 +0200)]
os_support: Undefine lseek/stat/fstat before defining them

This avoids a number of redefinition warnings on MinGW64.

9 years agoogg: Provide aliases for Speex, Opus and audio-only ogg
Luca Barbato [Sun, 17 Aug 2014 18:55:37 +0000 (20:55 +0200)]
ogg: Provide aliases for Speex, Opus and audio-only ogg

Since they are aliases for ogg enabling any of them enables ogg as well.

9 years agoelectronicarts: set the framerate for TGQ/TQI
Anton Khirnov [Wed, 20 Aug 2014 06:06:41 +0000 (06:06 +0000)]
electronicarts: set the framerate for TGQ/TQI

It is hardcoded to 15fps.

9 years agoelectronicarts: read the framerate for MAD
Anton Khirnov [Wed, 20 Aug 2014 05:52:44 +0000 (05:52 +0000)]
electronicarts: read the framerate for MAD

9 years agoelectronicarts: do not fail on zero-sized chunks
Anton Khirnov [Wed, 20 Aug 2014 05:40:53 +0000 (05:40 +0000)]
electronicarts: do not fail on zero-sized chunks

At least one FATE sample contains such chunks and happens to work simply
by accident (due to find_stream_info() swallowing the error).

CC: libav-stable@libav.org
9 years agorv34: use ff_mpeg_update_thread_context only when decoder is fully initialized
Janne Grunau [Thu, 21 Aug 2014 11:26:33 +0000 (13:26 +0200)]
rv34: use ff_mpeg_update_thread_context only when decoder is fully initialized

MpegEncContext based decoders are only fully initialized after the first
ff_thread_get_buffer() call. The RV30/40 decoders may fail before a frame
buffer was requested. ff_mpeg_update_thread_context() fails on half
initialized MpegEncContexts. Since this can only happen before a the
first frame was decoded there is no need to call
ff_mpeg_update_thread_context().

Based on patches by John Stebbins and tested by John Stebbins.

CC: libav-stable@libav.org
9 years agoconfigure: Suppress "potentially uninitialized variable" warnings from MSVC
Diego Biurrun [Fri, 15 Aug 2014 18:03:27 +0000 (20:03 +0200)]
configure: Suppress "potentially uninitialized variable" warnings from MSVC

The same is done for GCC and clang already.

9 years agoadts: Return more meaningful error codes
Nidhi Makhijani [Fri, 15 Aug 2014 11:37:24 +0000 (17:07 +0530)]
adts: Return more meaningful error codes

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agosetpts: Add missing inttypes.h #include for PRId64
Diego Biurrun [Wed, 20 Aug 2014 16:54:50 +0000 (09:54 -0700)]
setpts: Add missing inttypes.h #include for PRId64

Also convert a debug av_log() to av_dlog().

9 years agompeg12enc: Add missing #include for PICT_FRAME
Diego Biurrun [Wed, 20 Aug 2014 16:48:54 +0000 (09:48 -0700)]
mpeg12enc: Add missing #include for PICT_FRAME

9 years agoerror_resilience: Drop asserts from guess_mv()
Diego Biurrun [Wed, 20 Aug 2014 16:35:08 +0000 (09:35 -0700)]
error_resilience: Drop asserts from guess_mv()

The asserts check struct members that are not referenced in guess_mv()
and one of them fails to compile.

9 years agovsrc_movie: Adjust a silly typo from b977b287f61fea48ecd6251d54a26334213b7ec6
Diego Biurrun [Wed, 20 Aug 2014 16:56:26 +0000 (09:56 -0700)]
vsrc_movie: Adjust a silly typo from b977b287f61fea48ecd6251d54a26334213b7ec6

9 years agoavfilter: Remove unused variable from ff_get_video_buffer()
Diego Biurrun [Fri, 15 Aug 2014 20:13:09 +0000 (22:13 +0200)]
avfilter: Remove unused variable from ff_get_video_buffer()

9 years agovsrc_movie: Avoid a variable indirection in movie_get_frame()
Diego Biurrun [Fri, 15 Aug 2014 20:13:14 +0000 (22:13 +0200)]
vsrc_movie: Avoid a variable indirection in movie_get_frame()

This avoids an unused variable warning with MSVC since the variable is
only used in a debug mode printf statement.

9 years agopcm: Drop av_unused attribute from variable that is always used
Diego Biurrun [Fri, 15 Aug 2014 20:13:11 +0000 (22:13 +0200)]
pcm: Drop av_unused attribute from variable that is always used