Statistics
| Branch: | Revision:

ffmpeg @ 9b4f1cdb

# Date Author Comment
9b4f1cdb 04/19/2011 04:37 PM Anton Khirnov

lavc: remove the FF_API_AUDIO_OLD cruft.

20d33ee8 04/19/2011 04:36 PM Anton Khirnov

lavc: remove the FF_API_OPT_SHOW cruft.

42420e7b 04/19/2011 04:35 PM Anton Khirnov

lavc: remove the FF_API_MM_FLAGS cruft.

32b80696 04/19/2011 04:31 PM Anton Khirnov

lavf: remove misc disabled cruft.

df56d583 04/19/2011 04:31 PM Anton Khirnov

lavf: remove FF_API_INDEX_BUILT cruft

7f804085 04/19/2011 04:31 PM Anton Khirnov

lavf: remove FF_API_URL_CLASS cruft.

5763e639 04/19/2011 04:28 PM Anton Khirnov

lavf: remove FF_API_SYMVER cruft

b4c5acab 04/19/2011 04:28 PM Anton Khirnov

lavf: remove FF_API_FIRST_FORMAT cruft

583f6c67 04/19/2011 04:28 PM Anton Khirnov

lavf: remove FF_API_PARAMETERS_CODEC_ID cruft

fc2d3a19 04/19/2011 04:28 PM Anton Khirnov

lavf: remove FF_API_LAVF_UNUSED cruft

58d5ff0a 04/19/2011 04:28 PM Anton Khirnov

lavf: remove FF_API_PARSE_FRAME_PARAM cruft

4df001d7 04/19/2011 04:28 PM Anton Khirnov

lavf: remove FF_API_ALLOC_FORMAT_CONTEXT cruft

5048e36c 04/19/2011 04:28 PM Anton Khirnov

lavf: remove FF_API_URL_SPLIT cruft

c4efa7c2 04/19/2011 04:28 PM Anton Khirnov

lavf: remove FF_API_UDP_GET_FILE cruft

61573bf1 04/19/2011 04:28 PM Anton Khirnov

lavf: remove FF_API_GUESS_FORMAT cruft

dcd4a7b6 04/19/2011 04:28 PM Anton Khirnov

lavf: remove FF_API_REGISTER_PROTOCOL cruft

468644f6 04/19/2011 04:28 PM Anton Khirnov

lavf: remove FF_API_URL_RESETBUF cruft

575c18da 04/19/2011 04:28 PM Anton Khirnov

lavf: remove FF_API_OLD_METADATA cruft

761ad429 04/19/2011 04:28 PM Anton Khirnov

lavf: remove FF_API_MAX_STREAMS cruft

aad2f2f4 04/19/2011 04:28 PM Kostya

document introduction of side data in APIchanges

this should've been written earlier, sorry

Signed-off-by: Anton Khirnov <>

151cd4f9 04/19/2011 02:18 PM Diego Biurrun

pcm: Add const to cast in ENCODE macro.

This fixes a lot of warnings of the sort:
libavcodec/pcm.c:105: warning: cast discards qualifiers from pointer target type

d11818ef 04/18/2011 09:55 PM Diego Biurrun

Remove now obsolete references to _g-suffixed binaries.

Automatic stripping of binaries was removed in commit e0be794
and the _g binaries disappeared along with it.

facc48f1 04/18/2011 08:21 PM Luca Barbato

libvo-aacenc,libvo-amrwbenc}: fix api usage

Use the correct error codes and format identifier.

139f3ac4 04/18/2011 06:19 PM Anton Khirnov

Bump major versions of all libraries.

They've accumulated enough new APIs and corresponding deprecated cruft.

This breaks API and ABI.

f0a41afd 04/18/2011 04:23 PM Diego Biurrun

Replace mplayerhq.hu URLs by libav.org.

0b5ae1fd 04/18/2011 01:35 PM Diego Biurrun

asfdec: Remove dead code from asf_read_close().

259a3e70 04/18/2011 07:41 AM Diego Biurrun

ptx: Use av_log_ask_for_sample() where appropriate.

fd0c3403 04/17/2011 08:46 PM Diego Biurrun

Update regtest checksums after revision 6001dad.

The string "FFmpeg" was replaced by "Libav" in metadata that
got encoded in file headers.

6001dad6 04/17/2011 05:31 PM Diego Biurrun

Replace more FFmpeg references by Libav.

4c64c8e9 04/17/2011 04:33 PM Justin Ruggles

ac3dec: fix processing of delta bit allocation information.

The number of dba segments is the coded value + 1.
The coupling dba offset starts at the first coupling band, not at zero.

0b05864e 04/17/2011 06:45 AM Ronald S. Bultje

vc1: fix fate-vc1 after previous commit.

PROFILE_ADVANCED doesn't set res_fasttx, so make that a special case
in the condition that decides which IDCT to use (and whether to read
coefficients transposed or not).

Signed-off-by: Kostya Shishkov <>

58bb6b7d 04/16/2011 07:19 PM Ronald S. Bultje

wmv3dec: fix playback of complex WMV3 files using simple_idct.

IDCT coefficients are read transposed, but simple_idct does not expect
this. Therefore, only do tranposed coefficient reading if we're not
using simple_idct.

Fixes http://forum.videolan.org/viewtopic.php?f=14&t=89651

14622ef0 04/15/2011 08:38 PM Diego Biurrun

Replace references to ffmpeg-devel with libav-devel; fix roundup URL.

c0eee893 04/15/2011 04:02 PM Kostya Shishkov

make av_dup_packet() more cautious on allocation failures

Signed-off-by: Luca Barbato <>

2d8591c2 04/15/2011 04:02 PM Kostya Shishkov

make containers pass palette change in AVPacket

Signed-off-by: Luca Barbato <>

4de339e2 04/15/2011 04:01 PM Kostya Shishkov

introduce side information for AVPacket

Signed-off-by: Luca Barbato <>

4d012eb5 04/15/2011 11:28 AM Diego Biurrun

xwma: Fix wrong printf format expression.

Also add inttypes.h #include for PRId64 macros.

This fixes the following warnings:
libavformat/xwma.c:147: warning: too many arguments for format
libavformat/xwma.c:151: warning: too many arguments for format

ef8b54fc 04/15/2011 10:19 AM Max Horn

xwma demuxer: typos

Signed-off-by: Diego Biurrun <>

8f3eebd6 04/15/2011 09:45 AM Clément Bœsch

oggdec: simplify audio chained ogg streams support

Signed-off-by: Luca Barbato <>

f668afd4 04/15/2011 08:06 AM Janne Grunau

swscale: fix "ISO C90 forbids mixed declarations and code" warning

only hit with --enable-runtime-cpudetect

7f2ae5c7 04/15/2011 07:07 AM Janne Grunau

swscale: fix compilation with --enable-runtime-cpudetect

b6cad3df 04/14/2011 10:41 PM Janne Grunau

swscale: correct include path to fix ppc altivec build

6216fc70 04/14/2011 08:16 PM Luca Barbato

swscale: simplify rgb2rgb templating

MMX is always built. Drop the ifdefs

33a0421b 04/14/2011 08:16 PM Josh Allmann

swscale: simplify initialization code

Simplify the fallthrough case when no accelerated functions
can be initialized.

735bf195 04/14/2011 08:16 PM Josh Allmann

swscale: further cleanup swscale.c

Move x86-specific constants out of swscale.c

86330b4c 04/14/2011 08:16 PM Luca Barbato

swscale: partially move the arch specific code left

PPC and x86 code is split off from swscale_template.c. Lots of code is
still duplicated and should be removed later.

Again uniformize the init system to be more similar to the dsputil one.

Unset h*scale_fast in the x86 init in order to make the output...

c0038328 04/14/2011 08:16 PM Luca Barbato

swscale: move away x86 specific code from rgb2rgb

Keep only the plain C code in the main rgb2rgb.c and move the x86
specific optimizations to x86/rgb2rgb.c
Change the initialization pattern a little so some of it can be
factorized to behave more like dsputils.

a3a0af4f 04/14/2011 08:14 PM Alexis Ballier

avutil: make aes and sha api public

The functions are already av_ prefixed and sha1 header is already provided.
Install libavutil/{aes,sha}.h

Signed-off-by: Michael Niedermayer <>
Signed-off-by: Luca Barbato <>

ca402f32 04/14/2011 11:56 AM Max Horn

handle malloc failures in ff_get_wav_header

ff_get_wav_header is reading data from a WAVE file and then uses it
(without validation) to malloc a buffer. It then proceeded to read
data into the buffer, without verifying that the allocation succeeded.

To address this, change ff_get_wav_header to return an error if...

ad4c5034 04/14/2011 11:55 AM Max Horn

add xWMA demuxer

Signed-off-by: Luca Barbato <>

0a962e61 04/14/2011 11:51 AM Rudolf Polzer

mpegts: force the default timebase

The mpegts muxer does not set the stream time base using
av_set_pts_info, but expects it to have the default value of 1/90000.
If the calling code changes stream pts before writing the header,
other muxers override the time base at that point (like mpegenc.c).

302152d4 04/14/2011 06:34 AM Martin Storsjö

libavcodec: Bump micro after adding the dtx AVOptions

Signed-off-by: Martin Storsjö <>

651b276e 04/13/2011 09:31 PM Martin Storsjö

libopencore-amr, libvo-amrwbenc: Allow enabling DTX via private AVOptions

DTX, discontinuous transmission, allows emitting frames with
comfort noise when no voice is detected in the input audio.

Signed-off-by: Martin Storsjö <>

3dd82afc 04/13/2011 09:31 PM Martin Storsjö

libopencore-amr, libvo-amrwbenc: Only check the bitrate when changed

Also rename the incorrectly named enc_bitrate to enc_mode, use the
enc_bitrate variable for storing the last chosen bitrate.

This avoids continuous warning log messages if not using an...

70739381 04/13/2011 09:31 PM Martin Storsjö

libopencore-amr, libvo-amrwbenc: Find the closest matching bitrate

Dynamically print the supported bitrates from the local table,
instead of using a hardcoded log message.

Signed-off-by: Martin Storsjö <>

957635ba 04/13/2011 07:38 PM Martin Storsjö

libvo-*: Fix up the long codec names

Include VisualOn to clarify the codec name, but remove the
actual library name from the user-friendly description.
Also mention Android, to clarify which VisualOn implementation
this refers to, since they do sell other variants of the same...

567ad0e3 04/13/2011 07:14 PM Martin Storsjö

libavcodec: Mark AVCodec->priv_class const

This avoids warnings of this kind, everywhere priv_class
is initialized:

warning: initialization discards qualifiers from pointer target type

Signed-off-by: Martin Storsjö <>

0e1a5434 04/13/2011 03:24 PM Luca Barbato

swscale: Factorize FAST_BGR2YV12 definition.

It is used only for x86 so it will eventually be moved with that code
into the x86 arch subdirectory.

2d326793 04/13/2011 12:43 PM Martin Storsjö

libvo-aacenc: Only produce extradata if the global header flag is set

Signed-off-by: Martin Storsjö <>

451d566f 04/13/2011 11:50 AM Anton Khirnov

lavf: postpone removal of public metadata conversion API

It's been deprecated only a few months ago, long after 0.6.

c7767327 04/13/2011 11:50 AM Anton Khirnov

lavc: postpone removal of request_channels

No decoder uses the supposed replacement, request_channel_layout, yet.

d6ead39e 04/13/2011 11:50 AM Anton Khirnov

lavc: postpone removal of audioconvert and sample_fmt wrappers

Those were moved to libavutil only recently.

548e62c5 04/13/2011 11:50 AM Anton Khirnov

lavf: postpone removal of deprecated avio functions

They've been deprecated very recently.

882221af 04/13/2011 10:00 AM Martin Storsjö

libopencore-amr: Cosmetics: Rewrap and align

Signed-off-by: Martin Storsjö <>

02c63a10 04/13/2011 10:00 AM Martin Storsjö

libopencore-amr, libvo-amrbwenc: Rename variables and functions

Avoid camelCase names for functions and variables.

Signed-off-by: Martin Storsjö <>

9b9c6405 04/13/2011 10:00 AM Martin Storsjö

libopencore-amr: Convert commented out debug logging into av_dlog

Also add the avctx as logging context.

Signed-off-by: Martin Storsjö <>

89e7e640 04/13/2011 09:59 AM Martin Storsjö

libopencore-amr: Remove an unused state variable

Signed-off-by: Martin Storsjö <>

5d211e03 04/13/2011 08:30 AM Martin Storsjö

libvo-amrwbenc: Don't explicitly store bitrate modes in the bitrate table

The bitrate modes are equal to the array indices.

Signed-off-by: Martin Storsjö <>

0e03f94d 04/13/2011 08:30 AM Martin Storsjö

libopencore-amr: Remove a useless local variable

Signed-off-by: Martin Storsjö <>

c48ce4eb 04/13/2011 08:30 AM Martin Storsjö

libopencore-amr, libvo-amrwbenc: Make the bitrate/mode mapping array static const

Signed-off-by: Martin Storsjö <>

900a129f 04/13/2011 08:30 AM Martin Storsjö

libopencore-amr, libvo-amrwbenc: Return proper error codes in most places

Signed-off-by: Martin Storsjö <>

a8ec07c9 04/13/2011 08:30 AM Martin Storsjö

libopencore-amr: Don't print carriage returns in log messages

Signed-off-by: Martin Storsjö <>

58733141 04/13/2011 08:30 AM Martin Storsjö

libopencore-amr: Remove an old workaround for libamr header weirdness

Signed-off-by: Martin Storsjö <>

57ddffe8 04/13/2011 08:30 AM Martin Storsjö

libopencore-amr: Make the opaque encoder pointer a void*

Signed-off-by: Martin Storsjö <>

dbff4da9 04/13/2011 08:30 AM Martin Storsjö

libopencore-amr: Remove unused code fragments

This parts are heritage from the encoder part from the old
libamr code removed in SVN rev 19365.

Signed-off-by: Martin Storsjö <>

a92a7ddc 04/13/2011 08:30 AM Martin Storsjö

applehttp: Only check the discard flags if v->ctx actually is initialized

This code could be executed if the demuxer reads more than one
segment before returning from av_open_input_stream.

Signed-off-by: Martin Storsjö <>

4c362a52 04/13/2011 08:01 AM Luca Barbato

doc: update developer guide

Refer to the current submission policy and refer to FATE in the
Regression Test section.

86a89ae3 04/13/2011 05:41 AM Anton Khirnov

lavf: bump minor and add an APIChanges entry for the last avio changes

4bde56d1 04/13/2011 05:38 AM Anton Khirnov

avio: deprecate url_exist in favor of avio_check.

31317656 04/13/2011 05:38 AM Stefano Sabatini

file: implement url_check() callback in the file and pipe protocols

Signed-off-by: Anton Khirnov <>

175389c8 04/13/2011 05:38 AM Stefano Sabatini

avio: add avio_check()

The new function is more flexible than url_exist(), as it allows to
specify which access flags to check, and does not require an explicit
open of the checked resource.

Signed-off-by: Anton Khirnov <>

cbea3ac8 04/13/2011 05:36 AM Anton Khirnov

avio: left-shift AVIO_ flags on next bump

Now AVIO_RDONLY is defined as 0, so it's not usable as a flag.

d2940155 04/12/2011 11:46 PM Alberto Delmas

Check for successful h263 init in msmpeg4 init

Signed-off-by: Ronald S. Bultje <>

96573c0d 04/12/2011 11:06 PM Vitor Sessak

lavf/utils.c: Order packets with identical PTS by stream index.

This allows for more reproducible results when using multi-threading.

Signed-off-by: Ronald S. Bultje <>

578d6861 04/12/2011 08:08 PM Martin Storsjö

flvdec: Allow parsing keyframes metadata without seeking in most cases

Stop the avio input at a point where amf_parse_object can
continue parsing the end of the object seamlessly, when all
data is available.

If unsupported data is encountered within the keyframes object,...

f3e3f28e 04/12/2011 05:17 PM Luca Barbato

Error out if vaapi is not found

Make the behaviour consistent with the other external deps.

Signed-off-by: Anton Khirnov <>

ff1ec0c3 04/12/2011 05:17 PM Anton Khirnov

avio: undeprecate av_url_read_fseek/fpause under nicer names

It seems their replacements won't be ready anytime soon.

c5e03ceb 04/12/2011 09:52 AM Martin Storsjö

libvo-*: Don't use deprecated sample format names and enum names

Signed-off-by: Martin Storsjö <>

b5304f7b 04/12/2011 09:38 AM Kharkov Alexander

flvdec: Fix support for flvtool2 "keyframes based" generated index

Current keyframes data parser unconditionally rewind metadata to
the end at the end of function. As result ALL metadata located
after keyframes index not parsed, and as metadata object can have...

c41eb2ad 04/12/2011 09:38 AM Martin Storsjö

libavcodec: Use "const enum AVSampleFormat[]" in AVCodec initialization

Signed-off-by: Martin Storsjö <>

2f072b55 04/12/2011 04:47 AM Alex Converse

Fix the conversion of AV_SAMPLE_FMT_FLT and _DBL to AV_SAMPLE_FMT_S32.

(1<<31) is undefined and seems to be evaluated by gcc to -2^31 when
these formulae require 2^31.

These conversions still need fate tests.

187a5379 04/12/2011 04:47 AM Alex Converse

Convert some undefined 1<<31 shifts into 1U<<31.

According to ISO 9899:1999 S 6.5.7/4:

The result of E1 << E2 is E1 left-shifted E2 bit positions; vacated bits
are filled with zeros. If E1 has an unsigned type, the value of the
result is E1× 2^E2, reduced modulo one more than the maximum value...

db46be01 04/11/2011 12:18 PM Diego Biurrun

Add unconditional return statement to yuva420_rgb32_MMX() / yuva420_bgr32_MMX().

When HAVE_7REGS was not defined these functions had an empty body
causing the following warnings during compilation.
In file included from libswscale/x86/yuv2rgb_mmx.c:58:
libswscale/x86/yuv2rgb_template.c: In function ‘yuva420_rgb32_MMX’:...

70ad9842 04/11/2011 12:18 PM Diego Biurrun

Fix compilation of timefilter test program.

The printf function is forbidden in library code, but not in test programs,
so #undefine the printf macro that disables the system printf function.

Signed-off-by: Diego Biurrun <>

f502ff3f 04/11/2011 11:55 AM Martin Storsjö

Add support for AMR-WB encoding via libvo-amrwbenc

The wrapper code is based on the libamr wrapper removed in SVN rev 19365.

Signed-off-by: Martin Storsjö <>

d89e738a 04/11/2011 11:55 AM Martin Storsjö

Add an AAC encoder by using the libvo-aacenc library

Signed-off-by: Martin Storsjö <>

029f966c 04/11/2011 08:35 AM Martin Storsjö

g722: Return 8 bits per sample for g722 in av_get_bits_per_sample

This fixes a failing assert in ff_raw_read_header (in
fate-g722dec-1), where bits_per_coded_sample is set using this
function and is required to have a positive value.

Signed-off-by: Martin Storsjö <>

d1c5fdf8 04/10/2011 12:31 PM Anton Khirnov

avio: add more documentation for AVIOContext.

768c5251 04/10/2011 08:07 AM Alberto Delmás

Parse sprite data for WMVP and WVP2, and decode sprites for the latter

Signed-off-by: Anton Khirnov <>

70ff5573 04/10/2011 08:07 AM Lou Logan

Replace outdated info on the FAQ

FAQ could use some work. This updates a few little details.

Signed-off-by: Michael Niedermayer <>
Signed-off-by: Anton Khirnov <>