Statistics
| Branch: | Revision:

ffmpeg @ a38cdfde

# Date Author Comment
a38cdfde 04/26/2011 04:16 PM Michael Niedermayer

vsrc_buffer: Set output size
Signed-off-by: Michael Niedermayer <>

ad0193bf 04/26/2011 04:15 PM Michael Niedermayer

vsrc_buffer: fix NULL dereference
Signed-off-by: Michael Niedermayer <>

ff558d7b 04/26/2011 08:41 AM Stefano Sabatini

bfi: store palette data in the context

Store palette data in the codec context, do not assume that the frame
allocated the first time by avctx->get_buffer will be returned again.

This requires to store the palette which comes with the first frame in
the context, and copy it to the following frames....

3788a3c0 04/26/2011 02:21 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    graphparser: add a NULL check on the argument passed to strstr
    setdar: prefer "sar" over "par" in log info message
    fade: fix draw_slice() check on fade->factor value
    fade: make draw_slice() chroma check against planes 1 and 2...
05815b35 04/26/2011 12:44 AM Michael Niedermayer

Fix issue1503, this fix may be incomplete we need more samples to know for sure.
Signed-off-by: Michael Niedermayer <>

7157334c 04/26/2011 12:44 AM Michael Niedermayer

wmadec: prevent null pointer call.
Signed-off-by: Michael Niedermayer <>

1da254b8 04/25/2011 09:17 PM Stefano Sabatini

fraps: do not set avctx->pix_fmt to none in decode_init()

This is required for setting up the filterchain, as it requires the
pixel format to be set, which is usually done when probing the file
with av_find_stream_info().

Fix trac issue #83.

Signed-off-by: Stefano Sabatini <>

f80b381b 04/25/2011 08:45 PM Stefano Sabatini

graphparser: add a NULL check on the argument passed to strstr

Fix crash in create_filter() which occurrs if a scale filter with no
args is provided.

Signed-off-by: Anton Khirnov <>

c61bfc11 04/25/2011 08:45 PM Stefano Sabatini

setdar: prefer "sar" over "par" in log info message

This is more consistent with the terminology adopted by the aspect
filter names.

Signed-off-by: Anton Khirnov <>

b04d1abb 04/25/2011 08:45 PM Mark Himsley

fade: fix draw_slice() check on fade->factor value

draw_slice() checks that the fade factor is < 65536 and only
calculates the fade if so. But the fade factor is clipped in
end_frame() by av_clip_uint16() to 65535, so the fade is calculated
for every frame. This patch alters the check so that it compares with...

9026b27e 04/25/2011 08:45 PM Mark Himsley

fade: make draw_slice() chroma check against planes 1 and 2

draw_slice() checks that planes 0 and 1 of AVFilterBufferRef's data
are not NULL before manipulating planes 1 and 2. This patch makes the
check against planes 1 and 2. More senseful and possibly more robust....

bd2a3700 04/25/2011 08:45 PM Stefano Sabatini

lsws: prevent overflow in sws_init_context()

In the loop:
for (i=0; i<dstH; i++) {
int chrI= i*c->chrDstH / dstH;

when i*c->chrDstH > INT_MAX this leads to an integer overflow, which
results in a negative value for chrI and in out-of-buffer reads. The...

1d6c82d4 04/25/2011 08:45 PM Stefano Sabatini

ffplay: fix logic for selecting the show mode in case of missing video

Also automatically select the show mode only if not specified by the
user.

Fix trac issue #109.

Signed-off-by: Stefano Sabatini <>

54ad8e06 04/25/2011 08:45 PM Stefano Sabatini

ffplay: name ShowMode enum

Help debugging with GDB, maybe cleaner/safer.

Signed-off-by: Stefano Sabatini <>

ba9327ea 04/25/2011 07:57 PM Luca Barbato

win32: include the correct header in cmdutils.c

CommandLineToArgvW requires windows.h, include it directly

6ad2bafc 04/25/2011 06:27 PM Janne Grunau

ac3: fix memleak in fixed-point encoder

caused by typo in mdct_end

03a91c74 04/25/2011 05:53 PM Manfred Tremmel

Patch from Packman (OpenSuse - packages) to silence rpmlint.

Signed-off-by: Michael Niedermayer <>

7f725f23 04/25/2011 02:51 PM Reimar Döffinger

Set start_time to 0 for raw audio files.

None of the raw audio files have timestamps, thus setting
start_time to 0 should be reasonable.

663d0024 04/25/2011 02:51 PM Reimar Döffinger

Remove now unused audio_float configure option.

bde96717 04/25/2011 02:51 PM Reimar Döffinger

dca: allow selecting float output at runtime.

5aff31b1 04/25/2011 02:51 PM Reimar Döffinger

vorbisdec: allow selecting float output at runtime.

26d5a4b6 04/25/2011 02:51 PM Reimar Döffinger

aacdec: Allow selecting float output at runtime.

4c7ad768 04/25/2011 02:51 PM Reimar Döffinger

ac3dec: allow selecting float output at runtime.

a14c0824 04/25/2011 02:01 PM Diego Biurrun

flashsv: Return more meaningful error values.

46cb2da1 04/25/2011 01:41 PM Diego Biurrun

flashsv: Employ explicit AVCodec struct initializers.

5e9de76f 04/25/2011 12:17 PM Reimar Döffinger

Do not set non_interleaved for DV-in-AVI.

It does not make sense (DV is interleaved by design) and
it avoids a crash when the non-interleaved code tries to
use the priv_data of streams created by the DV demuxer.
The crash could be avoided differently, but then that stream...

6c936416 04/25/2011 09:23 AM Carl Eugen Hoyos

Warn if the source has unsupported (or no) channel layout.

23f40a07 04/25/2011 06:26 AM Kostya Shishkov

read AVI palette from the end of extradata

Official AVI specification says that stream header in case of video contains
BITMAPINFO, which is equal to BITMAPINFOHEADER and optional palette. Currently
lavf AVI demuxer thinks otherwise which produces garbage on codecs that have...

f27ac6d8 04/25/2011 02:13 AM Peter Ross

Set channel layout for 4 and 5.1 channel cdata audio files

Patch from Carl Eugen Hoyos (cehoyos at ag dot or dot at)

Signed-off-by: Peter Ross <>

989fb05f 04/25/2011 12:29 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    vorbisdec: Employ proper printf format specifiers for uint_fast32_t.
    applehttp: Don't export variant_bitrate if it isn't known
    crypto: Use av_freep instead of av_free
    configure: Add missing libm library dependencies to .pc files....
2671ab39 04/24/2011 11:54 PM unknown author

Check mmap() return against correct value
Signed-off-by: Michael Niedermayer <>

293fe6da 04/24/2011 11:50 PM Diego Biurrun

cosmetics: K&R coding style and more whitespace for Flash Screen Video

2441003d 04/24/2011 11:39 PM Diego Biurrun

vorbisdec: Employ proper printf format specifiers for uint_fast32_t.

libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘uint_fast32_t’
libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘uint_fast32_t’

03546a9a 04/24/2011 10:44 PM Carl Eugen Hoyos

Support fourcc MMJP.

Fixes ticket #107.

69cf1824 04/24/2011 10:44 PM Carl Eugen Hoyos

Support fourcc XVIX.

Fixes ticket #106.

a8117a62 04/24/2011 10:44 PM Carl Eugen Hoyos

Support fourcc M263.

Fixes ticket #103.

3e1c59eb 04/24/2011 10:44 PM ami_stuff

Support fourcc auv2.

Fixes ticket #101.

9a962f30 04/24/2011 10:20 PM Reimar Döffinger

Fix indentation.

02e3f7d0 04/24/2011 10:20 PM Reimar Döffinger

Support PARSER_FLAG_COMPLETE_FRAMES for h261 and h263 parsers.

69f58958 04/24/2011 09:10 PM Stefano Sabatini

ffplay: avoid SIGFPE exception in SDL_DisplayYUVOverlay

In video_image_display(), fix exception occurring when the size of the
rectangle passed to SDL_DisplayYUVOverlay() is 0x0, which happens when
interactively resizing the SDL window.
This is done by forcing the minimum size to 1x1....

fbfcc8f1 04/24/2011 08:38 PM Michael Niedermayer

avi: try to synchronize the points in time of the starts of streams after seeking.
Signed-off-by: Michael Niedermayer <>

8a68697d 04/24/2011 07:48 PM Michael Niedermayer

Add flag to force demuxers to sort more strictly by dts.
This enables non interleaved AVI mode for example.
Players that are picky on strict interleaving can set this.
Patches to only switch to non intereaved AVI mode when the index is not strictly
correctly interleaved are welcome....

5f85d49b 04/24/2011 06:30 PM Martin Storsjö

applehttp: Don't export variant_bitrate if it isn't known

If there are no variants, the total bitrate of the single
stream isn't known, and exporting variant_bitrate = 0 does
look weird, since there really aren't any variants.

Signed-off-by: Martin Storsjö <>

ac9cf2e5 04/24/2011 06:30 PM Martin Storsjö

crypto: Use av_freep instead of av_free

Using av_freep is generally good practice.

Signed-off-by: Martin Storsjö <>

e4253b1a 04/24/2011 04:40 PM Philip Langdale

CrystalHD: Add AVOption to configure hardware downscaling.

The CrystalHD hardware can do scaling, which is particularly
desirable when dealing with some high resolution clips that take
so long to decode and copy out that they end up playing back
slower than realtime. By using scaling, we can make the output...

67c1a59a 04/24/2011 04:09 PM Reimar Döffinger

Check for malloc failures in fraps decoder.

80da2dcf 04/24/2011 04:09 PM Reimar Döffinger

Use av_fast_malloc instead of av_realloc in fraps decoder.

88dbbe97 04/24/2011 03:49 PM Nicolas George

general.texi: document libcelt decoder.

e3323a1c 04/24/2011 03:46 PM Michael Niedermayer

Fix some passing argument from incompatible pointer type warnings.
Signed-off-by: Michael Niedermayer <>

50f7c296 04/24/2011 03:24 PM Reinhard Tartler

configure: Add missing libm library dependencies to .pc files.

This unbreaks static compilation using pkg-config on systems in need of -lm.
Based on an mplayer2 patch by Uoti Urpala <>

Signed-off-by: Diego Biurrun <>

dc713546 04/24/2011 02:45 PM Clément Bœsch

oggdec: reindent after 8f3eebd6

Signed-off-by: Diego Biurrun <>

e9251bb5 04/24/2011 01:15 PM Reinhard Tartler

configure: Add missing libavutil inter-library dependencies to .pc files.

This unbreaks static compilation when using pkg-config.
Based on an mplayer2 patch by Uoti Urpala <>

Signed-off-by: Diego Biurrun <>

47ec6546 04/24/2011 11:31 AM Michael Niedermayer

Drop section describung now unneeded workarounds for BSD
Signed-off-by: Michael Niedermayer <>

13e69cc5 04/24/2011 11:23 AM Michael Niedermayer

Fix building on FreeBSD8.2
Signed-off-by: Michael Niedermayer <>

18313287 04/24/2011 10:45 AM Sebastian Vater

HAM6/HAM8 support for IFF demuxer/decoder

Signed-off-by: Michael Niedermayer <>

c2a8f125 04/24/2011 01:53 AM Peter Ross

EA cdata demuxer: support files with 20 byte header

Signed-off-by: Michael Niedermayer <>

db62d898 04/24/2011 01:52 AM Peter Ross

EA cdata demuxer: support 6 channel files

Signed-off-by: Michael Niedermayer <>

c8a5e8a8 04/24/2011 01:52 AM Peter Ross

EA cdata demuxer: set codec->sample_fmt

This is required by has_codec_parameters in libavformat/utils.c

Signed-off-by: Michael Niedermayer <>

b678d6db 04/24/2011 01:51 AM Peter Ross

permit decoding of multichannel ADPCM_EA_XAS

Signed-off-by: Michael Niedermayer <>

7b376b39 04/24/2011 01:41 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    Handle unicode file names on windows
    rtp: Rename the open/close functions to alloc/free
    Lowercase all ff* program names.
    Refer to ff* tools by their lowercase names.
    NOT Pulled Replace more FFmpeg instances by Libav or ffmpeg....
b1ac139d 04/23/2011 09:05 PM Kirill Gavrilov

Handle unicode file names on windows

All file names should be in UTF-8 within libavformat.

This is handled by mapping the open() function to an internal one
in os_support.h for windows.

fopen() could be overridden in the same way, but if that would be
used from ffmpeg.c, it would add a dependency on an ff prefixed...

9261e6cf 04/23/2011 09:05 PM Martin Storsjö

rtp: Rename the open/close functions to alloc/free

This avoids clashes if we internally want to override the global
open function.

Signed-off-by: Martin Storsjö <>

c225615b 04/23/2011 07:41 PM Baptiste Coudurier

In libx264 wrapper, fix side effect with has_b_frames, bframe_pyramid can be set
when bframe is not.

89b503b5 04/23/2011 05:12 PM Diego Biurrun

Lowercase all ff* program names.

3a50894e 04/23/2011 05:12 PM Diego Biurrun

Refer to ff* tools by their lowercase names.

43fb279f 04/23/2011 05:12 PM Diego Biurrun

Replace more FFmpeg instances by Libav or ffmpeg.

6252040e 04/23/2011 03:45 PM Diego Biurrun

Replace `` by $() syntax in shell scripts.

$() is easier to nest and POSIX, which we require in other places.

ff3be572 04/23/2011 03:31 PM Brad

patcheck: Allow overiding grep program(s) through environment variables.

patcheck hardcodes the binary names for grep/egrep. This makes overriding the
binary names a pain, e.g. when calling a GNU version of grep on BSD systems.

Signed-off-by: Diego Biurrun <>

75e8fba8 04/23/2011 12:23 PM Diego Biurrun

Remove stray libavcore and _g binary references.

046f3cb7 04/23/2011 12:23 PM Diego Biurrun

vorbis: Rename decoder/encoder files to follow general file naming scheme.

f50d9377 04/23/2011 12:02 PM Nathan Caldwell

aacenc: Fix whitespace after last commit.

Signed-off-by: Martin Storsjö <>

2ef2496c 04/23/2011 11:37 AM Carl Eugen Hoyos

Set channel layout in flac decoder.

539647c6 04/23/2011 10:49 AM Stefano Sabatini

ffplay: factorize code calling output_packet() in video_thread()

Slightly simplify.

Signed-off-by: Stefano Sabatini <>

c632a1c2 04/23/2011 10:48 AM Stefano Sabatini

ffplay: remove reference to unused QETimer symbol

Signed-off-by: Stefano Sabatini <>

ab7fdbab 04/23/2011 10:48 AM Stefano Sabatini

ffplay: rename stream_pause() to stream_toggle_pause()

The new name is less misleading, since the function will resume the
stream if it is currently paused.

Signed-off-by: Stefano Sabatini <>

efd6cbc5 04/23/2011 10:13 AM Stefano Sabatini

flicvideo: fix crash on flic files with invalid frame size

Add a check in flic_decode_frame_8BPP(), in case chunk_size is >
frame_size issue a warning and resize chunk_size to frame_size, in
order to avoid out-of-buffer reads.

Fix roundup issue #2520, trac issue #69....

cd187279 04/23/2011 10:13 AM Stefano Sabatini

flicvideo: increase error level and fix error message in CHECK_PIXEL_PTR()

Also return AVERROR_INVALIDDATA rather than -1.

Signed-off-by: Stefano Sabatini <>

62582a69 04/23/2011 10:05 AM Diego Biurrun

cook: Fix small typo in av_log_ask_for_sample message.

230c1a90 04/23/2011 09:30 AM Nathan Caldwell

aacenc: Finish 3GPP psymodel analysis for non mid/side cases.

There is still are still a few sections missing relating to TNS (not present)
and mid/side (contains other bugs).

Overall this improves quality, and vastly improves rate-control.

Signed-off-by: Martin Storsjö <>

3d462373 04/23/2011 09:06 AM Michael Niedermayer

aac: add math.h needed for log2f()
Signed-off-by: Michael Niedermayer <>

ab157260 04/23/2011 08:41 AM Carl Eugen Hoyos

10l: Add misssing CR/LF.

8f2e438e 04/23/2011 08:31 AM Carl Eugen Hoyos

Support channel layout when demuxing aif files.

8bb5d1c3 04/23/2011 08:30 AM Carl Eugen Hoyos

Support channel layout when demuxing caf files.

2a2146aa 04/23/2011 08:19 AM Carl Eugen Hoyos

Extend unknown CAF chunk warning message: Print size.

e499187f 04/23/2011 08:10 AM Carl Eugen Hoyos

Fix compilation with libcelt on Apple OS X.

Fixes ticket #97.

4b5c2175 04/23/2011 08:06 AM Carl Eugen Hoyos

Fix compilation after version bump.

cfc2a0cf 04/23/2011 03:38 AM Alex Converse

Remove RDFT dependency from AAC decoder.

$subj

From 557176d961c70604c2a96d81aff4bd6faa670d8a Mon Sep 17 00:00:00 2001

From: Alex Converse <>
Date: Thu, 21 Apr 2011 12:11:42 -0700
Subject: [PATCH] Remove RDFT dependency from AAC decoder....

785c4418 04/23/2011 03:36 AM Alex Converse

Add some debug log messages to AAC extradata

On Wed, Apr 20, 2011 at 11:39 AM, Justin Ruggles
<> wrote:

On 04/20/2011 02:26 PM, Alex Converse wrote:

---
 libavcodec/aacdec.c |   10 +++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)...

3583d7cf 04/23/2011 03:36 AM Alex Converse

Fix mov debug (u)int64_t format strings.

15919ee4 04/23/2011 12:05 AM Jason Garrett-Glaser

bswap: use native types for av_bwap16().

This prevents a call to bytestream_get_be16() using a movzwl both before
and after the ror instruction, which is obviously inefficient. Arm uses
the same trick also.

Sintel decoding goes from (avg+SD) 9.856 +/- 0.003 to 9.797 +/- 0.003 sec....

e16665bf 04/22/2011 11:09 PM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    Use av_log_ask_for_sample() to request samples from users.
    Make av_log_ask_for_sample() accept a variable number of arguments.
    vqavideo: We no longer need to ask for version 1 samples.
    aacdec: indentation cosmetics...
6ffd7edd 04/22/2011 09:34 PM Carl Eugen Hoyos

doc: FLV muxing is supported.

Signed-off-by: Martin Storsjö <>

84465f21 04/22/2011 09:27 PM Martin Storsjö

applehttp: Handle AES-128 encrypted streams

This should hopefully fix roundup issue 2586.

This commit only implements it in the demuxer, not in the
protocol handler. If desired, some of the code could be
refactored to be shared by both implementations.
...

6e4f70a8 04/22/2011 09:27 PM Martin Storsjö

Add a protocol handler for AES CBC decryption with PKCS7 padding

This can later be extended to support other AES bit sizes,
encryption, other crypto algorithms, reading the key from a URL, etc.

In order to use it, the key and initialization vector has to be...

d5c5a1c7 04/22/2011 09:06 PM Martin Storsjö

doc: Mention that DragonFly BSD requires __BSD_VISIBLE set

Setting this should fix the FATE build failure on DragonFly BSD,
since inet_aton only is visible if __BSD_VISIBLE is set.

Alternatively, a line defining __BSD_VISIBLE=1 could be
added at the top of os_support.c. For FreeBSD, similar lines...

d9dee728 04/22/2011 06:12 PM Diego Biurrun

Use av_log_ask_for_sample() to request samples from users.

44f566b7 04/22/2011 06:12 PM Diego Biurrun

Make av_log_ask_for_sample() accept a variable number of arguments.

03ac7991 04/22/2011 06:10 PM Robert Leatherwood

Rm duplicated define for OPT_STR.

b2832c39 04/22/2011 06:02 PM Diego Biurrun

vqavideo: We no longer need to ask for version 1 samples.

a08a59b7 04/22/2011 05:24 PM Carl Eugen Hoyos

FLV muxing is supported.