Statistics
| Branch: | Revision:

ffmpeg @ d112aa5a

# Date Author Comment
d112aa5a 01/26/2011 02:43 AM Mans Rullgard

MIPS: use inline asm only when supported by compiler
(cherry picked from commit 7a5a168abe36c91087e58d89262a3658d21ea2cc)

604eb152 01/26/2011 02:43 AM Janne Grunau

aacenc: fix typo in sync extension constant in 8ae0fa2
(cherry picked from commit 2fd9035ddc4f6b9313023891a16b6e9820d958ed)

9de202a6 01/25/2011 04:55 AM Jai Menon

ffmetaenc : Use more correct format specifiers.

Additionally, this fixes a warning when building with clang.

d4e0130e 01/24/2011 10:20 PM Baptiste Coudurier

In mov muxer, mux adpcm_ms and adpcm_ima_wav the way quicktime supports it.
In mov demuxer, set adpcm_ms and adpcm_ima_wav frame size to stsd samples per packet.

e7b95918 01/24/2011 06:35 PM Reimar Döffinger

Use av_fast_malloc instead of av_realloc.
This should be faster, is less code and fixes issue 2524
(allocation error would lead to crash).

7d508260 01/24/2011 05:52 PM Reimar Döffinger

Handle input or output len of 0 properly in lzo decoder.

91d51ee4 01/23/2011 06:32 PM Mans Rullgard

Remove redundant checks against MIN_CACHE_BITS

With the removal of the libmpeg2 bitstream reader, MIN_CACHE_BITS
is always >= 25, so tests against smaller values can be removed.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit f162e988aa0dc8df93079b5ebf452ec281ab8793)

a4bff12c 01/23/2011 06:32 PM Mans Rullgard

get_bits: move tracing macros to end of file

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 611a6f59ce91947b25033bb8d0f9311b5c542b05)

371cf026 01/23/2011 06:32 PM Mans Rullgard

Sanitise get_bits macros, part 2

These whitespace changes improve the readability of the get_bits
macros.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit fb5c841d5f05ae54b699ba6ef28356a6563751eb)

d232e09d 01/23/2011 06:32 PM Mans Rullgard

Sanitise get_bits macros, part 1

Some of the macros in get_bits.h include a final semicolon,
some do not. This removes these or adds do {} while(0) around
the macros as appropriate and adds semicolons where needed in
calling code.

Signed-off-by: Mans Rullgard <>...

990f213e 01/23/2011 06:32 PM Mans Rullgard

Remove "libmpeg2" bitstream reader

Using the libmpeg2 reader causes errors in a multitude of places,
including MPEG and H264 codecs. As the advantage of this reader
is questionable, removing it seems the sensible course of action,
especially considering the simplifications this allows elsewhere...

51cfd812 01/23/2011 06:32 PM Mans Rullgard

Makefile: simplify test tools handling

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 2b39962eb616bdb848673485d7b9feed48d39e36)

bf7aa642 01/23/2011 06:32 PM Reinhard Tartler

ffserver: cleanup

remove the trivial function do_switch_stream as it doesn't help to make
the code easier to understand.
(cherry picked from commit 305ca590cfdbb8ffbe32c6ed26825489a640ff05)

eddf8f41 01/23/2011 06:32 PM Justin Ruggles

ac3enc: use dsputil functions in apply_window()

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 3b924294ea0ab891cf28fb30f26962a7960f7f37)

015f9f1a 01/23/2011 06:32 PM Justin Ruggles

Change DSPContext.vector_fmul() from dst=dst*src to dest=src0*src1.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 6eabb0d3ad42b91c1b4c298718c29961f7c1653a)

fb397b1a 01/23/2011 06:32 PM Ronald S. Bultje

Reindent.

Signed-off-by: Janne Grunau <>
(cherry picked from commit fcb7e535dd9ad142c079af62af9c1d0f4b001057)

2ed0f766 01/23/2011 06:32 PM Ronald S. Bultje

Fix crash on resolution change (issue 2393).

Don't free RBSP tables (containing decoded NAL units) on resolution
change, because we actually need this data to decode the frame after
reiniting (with new resolution). Fixed issue 2393.

Signed-off-by: Janne Grunau <>...

60c99b55 01/23/2011 06:32 PM Mans Rullgard

Make LOCAL_ALIGNED macro fully C99 compatible

C99 variadic macros require more arguments than there are named
parameters in the definition. This means we must use an extra
indirection to avoid having two different macros for arrays with
one resp more than one dimension....

d5ec00ba 01/23/2011 06:32 PM Alex Converse

Remove H.264 encoder fragments

It's incomplete, no one is working on it, and when someone asks about
working on it we advise them not to.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit ff3d43104fa5df0a3f4b52ff9b989ce2d11ad35d)

d67a6aa5 01/23/2011 06:32 PM Alex Converse

aacenc: mark SBR absent

Use backwards compatible explicit signalling to denote the absence of
SBR.

Signed-off-by: Janne Grunau <>
(cherry picked from commit 8ae0fa243e1f7a03cb5f23e2d9a32d3cc88b4def)

e6d40195 01/23/2011 06:32 PM Stefano Sabatini

Amend documentation for the image2 demuxer, to better reflect the current behavior.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 10ed96c78fde80da9d5bac9b267369861a4f33ba)

22f73157 01/23/2011 06:32 PM Stefano Sabatini

Remove outdated and confusing comment.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit db2ddd38859b26c0a4e4bf92619625cd7e0e7f42)

ff5eded4 01/23/2011 06:32 PM Justin Ruggles

10l: reverse the biquad coefficients.

I did not notice that the filter implementation uses a reversed history state.

Signed-off-by: Janne Grunau <>
(cherry picked from commit 98cfadd648bfb2ab48e4c18d832e946a1ba050c8)

ba0dd9e8 01/23/2011 06:32 PM Mike Scheutzow

streamid does not work with newaudio, newvideo, newsubtitle

fixes issue2465.

The problem is that the ffmpeg (the app) -streamid option did not work
with -newaudio/-newvideo/-newsubtitle.

The cause was a conflict between the feature where streamid values were...

73fd7c1f 01/23/2011 06:32 PM Mans Rullgard

fate: add lossless h264 test

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 76edf2c1377fdb35609f79a6702081de4d93e331)

890b771c 01/23/2011 06:32 PM Anssi Hannula

libfaac: add recognized profiles array

Signed-off-by: Janne Grunau <>
(cherry picked from commit b92f76e209b6912fb36ea2e588474c48ca231dea)

5b7e7544 01/23/2011 06:32 PM Anton Khirnov

mp3enc: support for id3v2.3 tags using a per-muxer AVOption

fixes issue2562.

Signed-off-by: Janne Grunau <>
(cherry picked from commit 22272f61bb0b164b53c132ba0804842b66b871e0)

fe01dd8d 01/23/2011 06:32 PM Anton Khirnov

id3v2: split tables for various ID3v2 versions

This is needed for upcoming ID3v2.3 muxing support.

Signed-off-by: Janne Grunau <>
(cherry picked from commit cb6bc57681b2ec5232e64db176f41fb2517de146)

5052830f 01/23/2011 06:32 PM Anton Khirnov

mp3enc: handle errors in id3v2_put_ttag

make the initialization of put clearer

this are the differences between
[FFmpeg-devel] [PATCH 1/3] mp3enc: add support for writing UTF-16 tags
and the already applied 187e23478bc5c066ff8eef562925471ac179644e

Signed-off-by: Janne Grunau <>...

204a1815 01/23/2011 06:32 PM Clément Bœsch

Move ID3v1 skip from decoder to demuxer

Signed-off-by: Janne Grunau <>
(cherry picked from commit 045b80e52df7ba9c97084c946b4929000d5f5bc7)

05238927 01/23/2011 06:32 PM Mans Rullgard

fate: make lavfi tests output only md5

Instead of saving huge raw files, use the md5: output pseudo-protocol
to calculate the checksum of the file directly. This is especially
useful when testing on remote targets as it avoids transferring 3.6GB
over the network....

6345dfcf 01/23/2011 06:32 PM Anssi Hannula

dca: add profile names

Signed-off-by: Mans Rullgard <>
(cherry picked from commit f4096bf6eeddc605457192476dbbf110d4cc6140)

17d4f455 01/23/2011 06:32 PM Justin Ruggles

iir: Change dst param to float* in ff_iir_filter_flt().

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 69915b48d6a787e569826eecb6c3b34ec19aeccd)

cf9cb1f9 01/23/2011 06:32 PM Anssi Hannula

dca: consider a stream with XXCh/X96 in ExSS as DTS-HD HRA

DTS-HD HRA streams do not always have an XBR extension in the extension
substream. Instead they can have only XXCh and X96 extensions in
there and still be considered DTS-HD HRA.

This is also confirmed with Onkyo TX-SR607 receiver which recognizes...

b6125545 01/23/2011 06:32 PM Anton Khirnov

mp3enc: add support for writing UTF-16 tags

Also it gets rid of some mysterious magic numbers in code.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 187e23478bc5c066ff8eef562925471ac179644e)

c7892b41 01/23/2011 06:32 PM Mans Rullgard

Fix libavformat version extraction in configure

This fixes shared library builds broken by
50196a982bf7c8be9b41053fa0975473c217e709

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 4ad66441c9fdd2d33d59e36a897a45828f3062f3)

727a20cb 01/23/2011 06:32 PM Mans Rullgard

configure: better test for mktemp

Some variants of mktemp require a template, so provide one when
checking for the command. We already supply a template in the
subsequent uses of mktemp.

Thanks to Michael Kostylev.

Signed-off-by: Mans Rullgard <>...

3df02975 01/23/2011 06:32 PM Mans Rullgard

configure: simplify exit traps

This does the same thing and also fixes the trapping in
some (possibly broken) shells.

Suggested by Michael Kostylev.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 93bb9ff08e533e30ceec2fa53a25483faf63f633)

6e89b612 01/23/2011 06:32 PM Anton Khirnov

lavf: move ff_put_str16_nolen from asf to avio and rename it

It will be useful in the mp3 muxer.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit dccbd97d72991f4df63542e1ee03db2f8d7a0238)

e910a77b 01/23/2011 06:32 PM Anton Khirnov

avio: add av_put_str and deprecate put_strz in favor of it

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 4efd5cf34b7a04f87805aa0f09913d1d122d300c)

384dbd61 01/23/2011 06:32 PM Justin Ruggles

cosmetics related to LPC changes.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 1c189fc5334d4a687b15861d81d22c8ba2c9cd5e)

7101b185 01/23/2011 06:32 PM Justin Ruggles

Separate window function from autocorrelation.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 77a78e9bdcc589efac41da4f92a489f4523667c0)

0d8837bd 01/23/2011 06:32 PM Justin Ruggles

Move lpc_compute_autocorr() from DSPContext to a new struct LPCContext.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 56f8952b252f85281317ecd3e0b04c4cae93fd72)

d3058be6 01/23/2011 06:32 PM Anton Khirnov

lavf: move the version macros to a new header

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 50196a982bf7c8be9b41053fa0975473c217e709)

002bd346 01/23/2011 03:58 PM Michael Niedermayer

Fix out of source tree builds of libmpcodecs.

eeb0b893 01/21/2011 07:36 PM Anton Khirnov

id3v2: use an enum for encodings instead of magic numbers.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit d66eff36852975129ae499c56de4340e48b9b7b4)

a091006d 01/21/2011 07:36 PM Mans Rullgard

Make demuxers auto-select parsers they need

This makes configure --disable-everything --enable-demuxer=foo
work as expected.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit c2dd0e9eba1dfcba42c5c72654b7aac7f5935d3b)

d094258f 01/21/2011 07:36 PM Mans Rullgard

Makefile: simplify setting of some variables

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 583fcb528cb13b271860529a464abc6304e063e3)

baa69f8a 01/21/2011 07:36 PM Anton Khirnov

Split mp3 demuxer and muxer into separate files.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit d08928bbea2b495596c2d3bc7df3cfb3e3b2b7e3)

cafa3eda 01/21/2011 07:36 PM Mans Rullgard

dca: pretty-print some tables

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 2611e52088b923601c83d331e8047d6e572abb82)

a994f861 01/21/2011 07:36 PM Justin Ruggles

iir: change filter type if/else to a switch.

Simplifies error handling and makes it easier to add additional filter types.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 0361d13cf3956dcf38f31b9df97aca9301cdc86a)

aa226b24 01/21/2011 07:36 PM Justin Ruggles

Add biquad high-pass and low-pass IIR filters.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit fcdf0a43cd267c1d4193aa172b024f35903c286e)

7f8c11b0 01/21/2011 07:36 PM Ronald S. Bultje

Set gray (128) U/V planes for chroma-less samples. Fixes two fate samples
when played with -flags emu_edge.
(cherry picked from commit 8bcfe7f7fd71e5d548c2cd96d33295ff06a5f6c8)

772225c0 01/21/2011 07:36 PM Ronald S. Bultje

Revert 2a1f431d38ea9c05abb215d70c7dc09cdb6888ab, it broke H264 lossless.
(cherry picked from commit 66c6b5e2a5e6376c4a5c65b1d96fd7a1580bdfcf)

2293b0b6 01/21/2011 07:36 PM Justin Ruggles

Split out Butterworth filter coeff init to a separate function.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 30112adadf06fe2f9500e4da365eb8a58095c940)

99c2111b 01/21/2011 07:36 PM Justin Ruggles

cosmetics: vertical alignment and line wrap

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 75b98610a7ce7acf34f583a04aaccd8c619947fe)

20d1f6fe 01/21/2011 07:36 PM Justin Ruggles

Add memory allocation failure checks to ff_iir_filter_init_coeffs().

Signed-off-by: Mans Rullgard <>
(cherry picked from commit d42dc217ed2b0f886ffc50b26c2bbff1fee5feca)

bb711414 01/21/2011 07:36 PM Mans Rullgard

Make PNG test depend on PNG codec

Signed-off-by: Mans Rullgard <>
(cherry picked from commit f0f54c297f1283025d423c4aed817ae31ba549cb)

7891fdcc 01/21/2011 07:36 PM Justin Ruggles

cosmetics: wrap long line

Signed-off-by: Mans Rullgard <>
(cherry picked from commit ebb230279aa0ecc2fda4c617860eb354531d4b63)

b3b8b930 01/21/2011 07:36 PM Justin Ruggles

Add function ff_iir_filter_flt() to accept floating-point input and output.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 0a3d7697b4fcb62305cd4a893b621a406a029ff0)

236bb68d 01/21/2011 07:36 PM Janne Grunau

mpegtsenc: prefer metadata keyed with "service_name"

title metadata is only used as fallback if no service_name is available.

Signed-off-by: Janne Grunau <>
(cherry picked from commit e5fe65512bfc824b9827ed29909a54122582ef2a)

d7b219ca 01/21/2011 07:36 PM Georgi Chorbadzhiyski

Set service_provider and service_name in mpegts demuxer

Set service_provider and service_name in mpegts demuxer, previously
name and provider_name were set but since the muxer uses service_provider
and service_name use them.

Signed-off-by: Mans Rullgard <>...

d4cc1f5b 01/21/2011 07:36 PM Anton Khirnov

id3v2: don't overwrite existing tags

Apparently some broken taggers prepend a new ID3v2 tag leaving the
existing one intact. Our parser currently reads all tags and overwrites
existing values with supposedly outdated ones.

fixes issue2419

Signed-off-by: Mans Rullgard <>...

189665d9 01/21/2011 07:36 PM Anton Khirnov

id3v2: convert metadata after all the tags were read

Signed-off-by: Mans Rullgard <>
(cherry picked from commit f7fcd6a2549b58a69c02622503676a8b142e4c43)

b3158f7a 01/21/2011 07:36 PM Anton Khirnov

id3v2: make ff_id3v2_parse static

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 46a2da7698634214eed6d269fc72d284e3d3700f)

9256dc28 01/21/2011 07:36 PM Georgi Chorbadzhiyski

libavcodec minor version is > 99 so fix the formating

libavcodec minor version is > 99 so when printing the library versions
the output is a little bit broken:

libavutil    50. 36. 0 / 50.36. 0
libavcore 0. 16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0...
7916202b 01/21/2011 07:35 PM Georgi Chorbadzhiyski

Add service_provider and service_name metadata

This patch adds support in mpegts muxer for using service_provider and
service_name metadata to set service_provider_name and service_name
fields in SDT.

Example usage:
ffmpeg -i file.ts -f mpegts -re -acodec copy -vcodec copy -f mpegts \...

e25f19a1 01/21/2011 07:35 PM Ronald S. Bultje

Fix horizontal/horizontal_up 8x8l intra prediction x86/simd functions.
The original functions did not work correctly for edge pixels, e.g.
when CODEC_FLAG_EMU_EDGE is set, leading to corrupt output in e.g. VLC.
Based on a patch by Daniel Kang <daniel d kang gmail com>....

f32e646d 01/21/2011 07:35 PM Justin Ruggles

Fix use of sstep/dstep in ff_iir_filter().

Signed-off-by: Mans Rullgard <>
(cherry picked from commit c3897d7690fffe016de8ed56fdbdb9d685dbcce2)

024f6370 01/21/2011 07:35 PM Justin Ruggles

Add regression test for stereo s16le in voc.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit a4f5af13fb00d7f55946470bb0f52e1dbf5f3c6a)

ef44b5bf 01/21/2011 07:35 PM Mans Rullgard

configure: fix mktemp test and fallback function
(cherry picked from commit 09a5c2452cab8931f70ecb51705114682c962f98)

3b63a522 01/21/2011 01:12 PM Michael Niedermayer

Add GPL dependancy for libmpcodecs

61d7f8fe 01/20/2011 02:27 AM Michael Niedermayer

Warn about vf_mp

fd4c59b5 01/20/2011 02:27 AM Michael Niedermayer

Enable libmpcodecs support.

a61b0df7 01/20/2011 02:27 AM Michael Niedermayer

Add ASMALIGN hack to patch around its recent removial from configure

3aa43978 01/20/2011 02:26 AM Michael Niedermayer

Add libmpcodecs wrapper for libavfilter, still disabled

3be78f7e 01/19/2011 11:59 PM Michael Niedermayer

Hack libmpcodecs to make it buildable.

8e45c103 01/19/2011 11:57 PM Michael Niedermayer

Remove dependancy of m_option & m_struct from libmpcodecs.

4d463614 01/19/2011 11:52 PM Michael Niedermayer

Avoid dependancy on global variable verbose in libmpcodecs/vf_pullup.c

45c889a3 01/19/2011 11:50 PM Michael Niedermayer

Add #define _BSD_SOURCE where mplayer is not C99.

e4852fb3 01/19/2011 11:49 PM Michael Niedermayer

Add MPlayers libmpcodecs, this will be needed for our libavfilter wraper for it.

fe678413 01/19/2011 06:06 PM Michael Niedermayer

Revert "Update git-howto with ffmpeg.org URLs"

This reverts commit 69c92320d760d3925d5c83c4fbca6012deef4195.

Reason is that this has been commited by mistake as discussed.

111ccca6 01/19/2011 05:53 PM Michael Niedermayer

Revert "Initial MAINTAINERS update"

This reverts commit f4f5cab94e0881cd30965b28f3d78d9c63d6918e.

Reason is that this has been mistakely commited as discussed.

44caaa56 01/18/2011 08:48 PM Mans Rullgard

ARM: improve VFP ABI check

Recent gcc versions define ARM_PCS or __ARM_PCS_VFP to indicate the
VFP ABI in use, and ARM RVCT defines __SOFTFP
when using this ABI.
If none of these are defined, check $cross_prefix and $cc for the
substring "hardfloat", and finally fall back to a linker test. This...

b0c1b66a 01/18/2011 08:48 PM Mans Rullgard

armcc: suppress warning about hardfp compatibility

5a92140b 01/18/2011 08:48 PM Mans Rullgard

armcc: suppress 'assignment in condition' warning

3240b371 01/18/2011 08:48 PM Mans Rullgard

fate: simplify vp8 rules

a6e5d231 01/18/2011 08:48 PM Mans Rullgard

a64enc: make PixelFormat arrays const

ef4a6514 01/18/2011 08:48 PM Mans Rullgard

Replace ASMALIGN with .p2align

This macro has unconditionally used .p2align for a long time and
serves no useful purpose.

ac3c9d01 01/18/2011 08:48 PM Mans Rullgard

x86: remove VLA in ac3_downmix_sse

ee6184a8 01/18/2011 08:48 PM Mans Rullgard

regtest: add openssl to md5 alternatives

fb3c4ffc 01/18/2011 08:48 PM Mans Rullgard

configure: make $TMPE executable

This is required on systems where the linker does not change
the permissions of an existing output file.

ec5f5719 01/18/2011 08:48 PM Mans Rullgard

cpu-test: include stdio.h only for test prog

fef2d661 01/18/2011 08:48 PM Mans Rullgard

Use -Bsymbolic for shared libs only, not executables

Some linkers fail if this flag is used when creating an executable file.
Since the flag is meaningful only for shared libraries, dropping it from
the main link flags is correct.

324e7ee2 01/18/2011 08:48 PM Mans Rullgard

Use INFINITY and NAN macros instead of 1/0 and 0/0

f318ee3e 01/18/2011 08:48 PM Mans Rullgard

Fix quoting in version.sh

daed21a1 01/18/2011 08:48 PM Mans Rullgard

avfilter: remove stray semicolon

69c92320 01/18/2011 08:48 PM Mans Rullgard

Update git-howto with ffmpeg.org URLs

2c3589bf 01/18/2011 08:32 PM Janne Grunau

consolidate .gitignore patters into a single file

Signed-off-by: Janne Grunau <>

a5da3b04 01/18/2011 07:20 PM Jason Garrett-Glaser

Deprecate CREDITS
It's useless now that we've switched to git.