12 years agouse lfg and ff_random_get_seed instead of deprecated av_random
Baptiste Coudurier [Fri, 20 Mar 2009 01:00:53 +0000 (01:00 +0000)]
use lfg and ff_random_get_seed instead of deprecated av_random

Originally committed as revision 18058 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agocheck if feed and stream already exist before registering new one
Baptiste Coudurier [Fri, 20 Mar 2009 00:55:00 +0000 (00:55 +0000)]
check if feed and stream already exist before registering new one

Originally committed as revision 18057 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoMake softfloat test program compile again: Setting the av_log_level variable
Diego Biurrun [Fri, 20 Mar 2009 00:23:13 +0000 (00:23 +0000)]
Make softfloat test program compile again: Setting the av_log_level variable
needs to be replaced by a call to av_log_set_level().

Originally committed as revision 18056 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoMake AES test program compile again: Setting the av_log_level variable
Diego Biurrun [Fri, 20 Mar 2009 00:18:46 +0000 (00:18 +0000)]
Make AES test program compile again: Setting the av_log_level variable
needs to be replaced by a call to av_log_set_level().

Originally committed as revision 18055 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoInitialize *srcContext, *dstContext, *outContext to NULL, avoids the warnings:
Diego Biurrun [Thu, 19 Mar 2009 23:33:35 +0000 (23:33 +0000)]
Initialize *srcContext, *dstContext, *outContext to NULL, avoids the warnings:
libswscale/swscale-example.c:60: warning: 'outContext' may be used uninitialized in this function
libswscale/swscale-example.c:60: warning: 'dstContext' may be used uninitialized in this function
libswscale/swscale-example.c:60: warning: 'srcContext' may be used uninitialized in this function

Originally committed as revision 29008 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoRemove useless casting in asm "m" operand.
Matthieu Castet [Thu, 19 Mar 2009 23:29:19 +0000 (23:29 +0000)]
Remove useless casting in asm "m" operand.

Patch by Matthieu Castet, castet D matthieu A free D fr

Originally committed as revision 29007 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoRemove useless casting in asm "m" operand.
Matthieu Castet [Thu, 19 Mar 2009 23:29:11 +0000 (23:29 +0000)]
Remove useless casting in asm "m" operand.

Patch by Matthieu Castet, castet D matthieu A free D fr

Originally committed as revision 18054 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoMake ffmpeg fail if the argument provided to the -pix_fmt option is
Stefano Sabatini [Thu, 19 Mar 2009 22:29:32 +0000 (22:29 +0000)]
Make ffmpeg fail if the argument provided to the -pix_fmt option is

Originally committed as revision 18053 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoset avi fsize to INT64_MAX if riff tag end is not set and file size is not available
Baptiste Coudurier [Thu, 19 Mar 2009 21:57:14 +0000 (21:57 +0000)]
set avi fsize to INT64_MAX if riff tag end is not set and file size is not available

Originally committed as revision 18052 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agomove max analyze duration check before considering new packet
Baptiste Coudurier [Thu, 19 Mar 2009 21:54:34 +0000 (21:54 +0000)]
move max analyze duration check before considering new packet

Originally committed as revision 18051 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAllocate executable memory with VirtualAlloc() in Windows.
Ramiro Polla [Thu, 19 Mar 2009 21:52:44 +0000 (21:52 +0000)]
Allocate executable memory with VirtualAlloc() in Windows.

Originally committed as revision 29006 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoCheck for VirtualAlloc() so it may be used to allocate executable memory in
Ramiro Polla [Thu, 19 Mar 2009 21:52:01 +0000 (21:52 +0000)]
Check for VirtualAlloc() so it may be used to allocate executable memory in

Originally committed as revision 18050 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoDrop unnecessary cast and cosmetically align.
Ramiro Polla [Thu, 19 Mar 2009 21:50:10 +0000 (21:50 +0000)]
Drop unnecessary cast and cosmetically align.

Originally committed as revision 29005 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoSupport raw TrueHD files
Ramiro Polla [Thu, 19 Mar 2009 21:46:56 +0000 (21:46 +0000)]
Support raw TrueHD files

Originally committed as revision 18049 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoFix indentation after r18047.
Reimar Döffinger [Thu, 19 Mar 2009 21:36:59 +0000 (21:36 +0000)]
Fix indentation after r18047.

Originally committed as revision 18048 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoChange linesize alignment method to ensure that linesize[0] == 2*linesize[1]
Reimar Döffinger [Thu, 19 Mar 2009 21:34:55 +0000 (21:34 +0000)]
Change linesize alignment method to ensure that linesize[0] == 2*linesize[1]
for YUV420P and YUV422P always.
Fixes MPEG-2 4:2:2 encoding on PPC and ARM, and should fix mxf_d10 regression.

Originally committed as revision 18047 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoDo not set linesize for palette data, it does not make sense and creates
Reimar Döffinger [Thu, 19 Mar 2009 21:31:10 +0000 (21:31 +0000)]
Do not set linesize for palette data, it does not make sense and creates
problems with following patch to fix linesize alignment.

Originally committed as revision 18046 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoSplit TrueHD decoder from MLP
Ramiro Polla [Thu, 19 Mar 2009 21:23:39 +0000 (21:23 +0000)]
Split TrueHD decoder from MLP

Originally committed as revision 18045 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoMOV: Use the AOT enum for the mp4_audio_types mapping.
Alex Converse [Thu, 19 Mar 2009 18:13:42 +0000 (18:13 +0000)]
MOV: Use the AOT enum for the mp4_audio_types mapping.

Originally committed as revision 18044 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoRevert
Michael Niedermayer [Thu, 19 Mar 2009 15:02:44 +0000 (15:02 +0000)]
Date: Wed Mar 18 23:11:50 2009
New Revision: 28996

Fix libswscale compilation on non-x86, hopefully without breaking MinGW64 again.

This change was non optimal, correct would have been to revert the offending commits
if no time was available to find a clean fix.

Originally committed as revision 29003 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agotypedef int x86_reg on non x86
Michael Niedermayer [Thu, 19 Mar 2009 14:49:47 +0000 (14:49 +0000)]
typedef int x86_reg on non x86

Originally committed as revision 18043 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoFix 10l typo.
Michael Niedermayer [Thu, 19 Mar 2009 14:04:14 +0000 (14:04 +0000)]
Fix 10l typo.

Originally committed as revision 29002 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoNicely align output columns.
Diego Biurrun [Thu, 19 Mar 2009 09:53:50 +0000 (09:53 +0000)]
Nicely align output columns.

Originally committed as revision 18042 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoUnscaled converters for
Michael Niedermayer [Thu, 19 Mar 2009 03:45:29 +0000 (03:45 +0000)]
Unscaled converters for

Originally committed as revision 28997 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoshare some constants between the FLAC encoder and FLAC decoder
Justin Ruggles [Thu, 19 Mar 2009 03:04:21 +0000 (03:04 +0000)]
share some constants between the FLAC encoder and FLAC decoder

Originally committed as revision 18041 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoFix compilation of adler32 test program: Use av_log_set_level()
Diego Biurrun [Thu, 19 Mar 2009 01:10:30 +0000 (01:10 +0000)]
Fix compilation of adler32 test program: Use av_log_set_level()
instead of assigning a value to the av_log_level variable.

Originally committed as revision 18040 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoFix copy and paste typo in input/output devices section.
Diego Biurrun [Thu, 19 Mar 2009 01:04:23 +0000 (01:04 +0000)]
Fix copy and paste typo in input/output devices section.

Originally committed as revision 18039 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoFix libswscale compilation on non-x86, hopefully without breaking MinGW64 again.
Reimar Döffinger [Wed, 18 Mar 2009 22:11:50 +0000 (22:11 +0000)]
Fix libswscale compilation on non-x86, hopefully without breaking MinGW64 again.

Originally committed as revision 28996 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoUse read_yesno() in opt_output_file().
Stefano Sabatini [Wed, 18 Mar 2009 21:38:41 +0000 (21:38 +0000)]
Use read_yesno() in opt_output_file().

Originally committed as revision 18038 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoImplement read_yesno().
Stefano Sabatini [Wed, 18 Mar 2009 21:35:49 +0000 (21:35 +0000)]
Implement read_yesno().

Originally committed as revision 18037 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoFlush the remaning chars in the input buffer after reading the
Stefano Sabatini [Wed, 18 Mar 2009 21:34:19 +0000 (21:34 +0000)]
Flush the remaning chars in the input buffer after reading the
response to the "Overwrite ? [y/N]" question.

Fix the behaviour when the question is asked more than one time.

Originally committed as revision 18036 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoImplement a name field for AVPixFmtDescriptor.
Stefano Sabatini [Wed, 18 Mar 2009 20:10:09 +0000 (20:10 +0000)]
Implement a name field for AVPixFmtDescriptor.

Originally committed as revision 18035 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoswscale-example: use LFG instead of random()
Ramiro Polla [Wed, 18 Mar 2009 17:12:44 +0000 (17:12 +0000)]
swscale-example: use LFG instead of random()

Originally committed as revision 28993 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoDo not assume long is same width as x86 register.
Ramiro Polla [Wed, 18 Mar 2009 17:07:30 +0000 (17:07 +0000)]
Do not assume long is same width as x86 register.

Originally committed as revision 28992 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoFix typo in AOT_ER_AAC_ELD
Alex Converse [Wed, 18 Mar 2009 14:14:56 +0000 (14:14 +0000)]
Fix typo in AOT_ER_AAC_ELD

Originally committed as revision 18034 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoUpdate the MPEG-4 AOT table.
Alex Converse [Wed, 18 Mar 2009 14:11:05 +0000 (14:11 +0000)]
Update the MPEG-4 AOT table.

Originally committed as revision 18033 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoRename GUID typedef to ff_asf_guid to fix MinGW compilation failure
Reimar Döffinger [Wed, 18 Mar 2009 14:03:40 +0000 (14:03 +0000)]
Rename GUID typedef to ff_asf_guid to fix MinGW compilation failure
(GUID is also defined, but differently, in Windows headers).

Originally committed as revision 18032 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoMove MPEG-4 AOT enum to mpeg4audio.h.
Alex Converse [Wed, 18 Mar 2009 13:52:56 +0000 (13:52 +0000)]
Move MPEG-4 AOT enum to mpeg4audio.h.

Originally committed as revision 18031 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAdd a special guidcmp function to compare ASF guids, to avoid the many
Reimar Döffinger [Wed, 18 Mar 2009 13:17:23 +0000 (13:17 +0000)]
Add a special guidcmp function to compare ASF guids, to avoid the many
duplicated sizeof(GUID).

Originally committed as revision 18030 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoConsistently use ff_ prefixes for internal symbols.
Diego Biurrun [Wed, 18 Mar 2009 08:06:08 +0000 (08:06 +0000)]
Consistently use ff_ prefixes for internal symbols.

Originally committed as revision 28988 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoAdd list of supported input/output devices.
Diego Biurrun [Wed, 18 Mar 2009 07:55:34 +0000 (07:55 +0000)]
Add list of supported input/output devices.

Originally committed as revision 18029 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAdjust @columnfractions settings to reflect the number of columns in the table.
Diego Biurrun [Wed, 18 Mar 2009 07:49:51 +0000 (07:49 +0000)]
Adjust @columnfractions settings to reflect the number of columns in the table.

Originally committed as revision 18028 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agouse intptr_t to cast pointers to int in codecs maintained by benjamin larsson
Ramiro Polla [Tue, 17 Mar 2009 20:47:31 +0000 (20:47 +0000)]
use intptr_t to cast pointers to int in codecs maintained by benjamin larsson

Originally committed as revision 18027 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAdd a fillPlane function to fill a plane with one constant value
Cédric Schieli [Tue, 17 Mar 2009 19:53:36 +0000 (19:53 +0000)]
Add a fillPlane function to fill a plane with one constant value

Originally committed as revision 28986 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoDon't write outside of the picture buffer in planarCopy in the gray case
Cédric Schieli [Tue, 17 Mar 2009 19:51:52 +0000 (19:51 +0000)]
Don't write outside of the picture buffer in planarCopy in the gray case

Originally committed as revision 28985 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoFix wrong @file tag.
Ronald S. Bultje [Tue, 17 Mar 2009 18:35:58 +0000 (18:35 +0000)]
Fix wrong @file tag.

Originally committed as revision 18026 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAmend AVCodecContext with hwaccel_context (HW accelerator context).
Gwenole Beauchesne [Tue, 17 Mar 2009 12:43:09 +0000 (12:43 +0000)]
Amend AVCodecContext with hwaccel_context (HW accelerator context).

This is needed for some HW accelerators that require a context that
FFmpeg can't instantiate itself. e.g. display-dependent data from

Originally committed as revision 18025 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoReindent after r18023.
Ronald S. Bultje [Tue, 17 Mar 2009 12:35:55 +0000 (12:35 +0000)]
Reindent after r18023.

Originally committed as revision 18024 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAdd RTP/ASF header parsing, which is part of the SDP of these streams. See
Ronald S. Bultje [Tue, 17 Mar 2009 12:34:57 +0000 (12:34 +0000)]
Add RTP/ASF header parsing, which is part of the SDP of these streams. See
patch discussion in "[PATCH] RTSP-MS 10/15: ASF header parsing" thread.

Originally committed as revision 18023 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agocosmetics: fix indentation, patch by avcoder, ffmpeg gmail com
avcoder [Tue, 17 Mar 2009 12:27:32 +0000 (12:27 +0000)]
cosmetics: fix indentation, patch by avcoder, ffmpeg gmail com

Originally committed as revision 18022 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoFix ff_bfin_yuv2rgb_get_func_ptr() vs. sws_ff_bfin_yuv2rgb_get_func_ptr() name
Diego Biurrun [Tue, 17 Mar 2009 12:05:56 +0000 (12:05 +0000)]
Fix ff_bfin_yuv2rgb_get_func_ptr() vs. sws_ff_bfin_yuv2rgb_get_func_ptr() name
mismatch. The function is now called sws_yuv2rgb_get_func_ptr_bfin().

Originally committed as revision 28982 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agowhitespace cosmetics: Consistently format function calls without space
Diego Biurrun [Tue, 17 Mar 2009 11:52:39 +0000 (11:52 +0000)]
whitespace cosmetics: Consistently format function calls without space
between name and parentheses; shorten some overly long lines.

Originally committed as revision 28981 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoAdd documentation about missing E-AC-3 features.
Justin Ruggles [Tue, 17 Mar 2009 01:43:01 +0000 (01:43 +0000)]
Add documentation about missing E-AC-3 features.

Originally committed as revision 18021 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoFix SEIs when splitting H264 input.
John Cox [Mon, 16 Mar 2009 22:38:27 +0000 (22:38 +0000)]
Fix SEIs when splitting H264 input.

Patch by John Cox, jc A kynesim D co D uk

Originally committed as revision 18020 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoExtend mov edit list support to work for a first padding entry with
Reimar Döffinger [Mon, 16 Mar 2009 20:49:52 +0000 (20:49 +0000)]
Extend mov edit list support to work for a first padding entry with
time == -1 and duration. Complicated since time is relative to stream,
duration relative to container time base.

Originally committed as revision 18019 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agormdec: fix crash at end of file
Måns Rullgård [Mon, 16 Mar 2009 20:22:39 +0000 (20:22 +0000)]
rmdec: fix crash at end of file

Originally committed as revision 18018 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAdd an alpha parameter to the YUV2RGBFUNC macro to ease the upcoming yuva2rgb patch
Cédric Schieli [Mon, 16 Mar 2009 20:04:32 +0000 (20:04 +0000)]
Add an alpha parameter to the YUV2RGBFUNC macro to ease the upcoming yuva2rgb patch

Originally committed as revision 28978 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoCosmetics: Re-indent after last commit
Alex Converse [Mon, 16 Mar 2009 16:24:38 +0000 (16:24 +0000)]
Cosmetics: Re-indent after last commit

Originally committed as revision 18017 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoMOV: Support stz2 "Compact Sample Size Box"
Alex Converse [Mon, 16 Mar 2009 16:14:36 +0000 (16:14 +0000)]
MOV: Support stz2 "Compact Sample Size Box"

Originally committed as revision 18016 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAAC: IEEE-754 type punning for 16-bit floating point rounding.
Alex Converse [Mon, 16 Mar 2009 16:11:27 +0000 (16:11 +0000)]
AAC: IEEE-754 type punning for 16-bit floating point rounding.

Originally committed as revision 18015 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoMore reindent, forgotten in previous commit.
Ronald S. Bultje [Mon, 16 Mar 2009 13:23:29 +0000 (13:23 +0000)]
More reindent, forgotten in previous commit.

Originally committed as revision 18014 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoParse index chunk so that seeking in modern .rm files becomes a lot faster.
Ronald S. Bultje [Mon, 16 Mar 2009 13:03:23 +0000 (13:03 +0000)]
Parse index chunk so that seeking in modern .rm files becomes a lot faster.
Has been tested against streamed / non-seekable input and passes make
seektest. See "[PATCH] rmdec.c: parse INDX chunk" thread on mailinglist.

Originally committed as revision 18013 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoRevert the alphabetical reordering which made me owner of Baptiste's line.
Benoit Fouet [Mon, 16 Mar 2009 13:03:08 +0000 (13:03 +0000)]
Revert the alphabetical reordering which made me owner of Baptiste's line.

Originally committed as revision 18012 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoReindent after r18010.
Ronald S. Bultje [Mon, 16 Mar 2009 13:01:02 +0000 (13:01 +0000)]
Reindent after r18010.

Originally committed as revision 18011 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoMark the first output audio frame as keyframe (separate patch from previous,
Ronald S. Bultje [Mon, 16 Mar 2009 12:59:18 +0000 (12:59 +0000)]
Mark the first output audio frame as keyframe (separate patch from previous,
as requested by Kostya). See "[PATCH] rmdec.c: remove cache access

Originally committed as revision 18010 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoRemove packet returning in ff_rm_parse_packet() if we're using the packet
Ronald S. Bultje [Mon, 16 Mar 2009 12:57:49 +0000 (12:57 +0000)]
Remove packet returning in ff_rm_parse_packet() if we're using the packet
cache, since this can already be accessed through ff_rm_retrieve_cache().
See "[PATCH] rmdec.c: remove cache access duplication" thread.

Originally committed as revision 18009 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoFix alphabetical order.
Benoit Fouet [Mon, 16 Mar 2009 12:56:22 +0000 (12:56 +0000)]
Fix alphabetical order.

Originally committed as revision 18008 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoReindent after r18005.
Ronald S. Bultje [Mon, 16 Mar 2009 12:50:12 +0000 (12:50 +0000)]
Reindent after r18005.

Originally committed as revision 18007 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoFix an assert().
Daniel Verkamp [Mon, 16 Mar 2009 12:47:43 +0000 (12:47 +0000)]
Fix an assert().
Patch by Daniel Verkamp daniel drv nu

Originally committed as revision 18006 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoMerge code for packet reading in "old" (.ra, audio-only) Realmedia files and
Ronald S. Bultje [Mon, 16 Mar 2009 12:47:34 +0000 (12:47 +0000)]
Merge code for packet reading in "old" (.ra, audio-only) Realmedia files and
the newer (.rm, audio/video) files. See "[PATCH] rmdec.c: merge old/new
packet reading code" thread on mailinglist.

Originally committed as revision 18005 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoSplit YUV2RGB operands declaration into a separate macro
Cédric Schieli [Mon, 16 Mar 2009 08:29:40 +0000 (08:29 +0000)]
Split YUV2RGB operands declaration into a separate macro

Originally committed as revision 28972 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agocosmetics, remove useless braces
Baptiste Coudurier [Mon, 16 Mar 2009 06:46:57 +0000 (06:46 +0000)]
cosmetics, remove useless braces

Originally committed as revision 18004 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agosimplify printing
Baptiste Coudurier [Mon, 16 Mar 2009 06:46:28 +0000 (06:46 +0000)]
simplify printing

Originally committed as revision 18003 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoreindent
Baptiste Coudurier [Mon, 16 Mar 2009 06:44:16 +0000 (06:44 +0000)]

Originally committed as revision 18002 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agofix trkn metadata parsing
Baptiste Coudurier [Mon, 16 Mar 2009 06:43:38 +0000 (06:43 +0000)]
fix trkn metadata parsing

Originally committed as revision 18001 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agomove read_udta_string up to avoid forward declaration
Baptiste Coudurier [Mon, 16 Mar 2009 06:06:05 +0000 (06:06 +0000)]
move read_udta_string up to avoid forward declaration

Originally committed as revision 18000 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agomore generic metadata handling
Baptiste Coudurier [Mon, 16 Mar 2009 06:03:29 +0000 (06:03 +0000)]
more generic metadata handling

Originally committed as revision 17999 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agodo not set isom if ctype is not set, happens in mov
Baptiste Coudurier [Mon, 16 Mar 2009 05:13:55 +0000 (05:13 +0000)]
do not set isom if ctype is not set, happens in mov

Originally committed as revision 17998 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoRemove long unused ALTIVEC_USE_REFERENCE_C_CODE ifdef; all other references
David Conrad [Mon, 16 Mar 2009 03:56:42 +0000 (03:56 +0000)]
Remove long unused ALTIVEC_USE_REFERENCE_C_CODE ifdef; all other references
to it were removed in r6606

Originally committed as revision 17997 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agosearch for hdlr atom in meta, some files do not store version+flags
Baptiste Coudurier [Sun, 15 Mar 2009 23:54:53 +0000 (23:54 +0000)]
search for hdlr atom in meta, some files do not store version+flags

Originally committed as revision 17996 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agomingw32: call lib.exe instead of lib to facilitate running it through wine.
Ramiro Polla [Sun, 15 Mar 2009 23:15:57 +0000 (23:15 +0000)]
mingw32: call lib.exe instead of lib to facilitate running it through wine.

Originally committed as revision 17995 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoDisallow out-of-tree builds with config.h in the source tree.
Matthieu Castet [Sun, 15 Mar 2009 21:32:36 +0000 (21:32 +0000)]
Disallow out-of-tree builds with config.h in the source tree.
A config.h present in the source tree takes precedence over a config.h
in the build tree, which can possibly result in an incorrect build.
patch by matthieu castet, castet.matthieu free fr

Originally committed as revision 17994 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoFix index generation in the way that it was supposed to be used. See the
Ronald S. Bultje [Sun, 15 Mar 2009 20:14:25 +0000 (20:14 +0000)]
Fix index generation in the way that it was supposed to be used. See the
discussion in the ML thread "[PATCH] rmdec.c: merge old/new packet reading

Over time, this code broke somewhat, e.g. seq was never actually written
into (and was thus always 1, therefore the seq condition was always true),
whereas it was supposed to be set to the sequence number of the video slice
in case the video frame is divided over multiple RM packets (slices). The
problem of this is that packets other than those containing the beginning
of a video frame would be indexed as well.
Secondly, flags&2 is supposed to be true for video keyframes and for these
audio packets containing the start of a block. For some codecs (e.g. AAC),
that is every single packet, whereas for others (e.g. cook), that is the
packet containing the first of a series of scrambled packets that are to be
descrambled together. Indexing any of the following would lead to incomplete
and thus useless frames. Problem here is that flags would be reset to 2 to
indicate that the first packet is ready to be returned, and in addition if
no data was left to be returned (which is always true for the first packet),
then we wouldn't actually write the index entry anyway.
All in all, the idea was good and it probably worked at some point, but that
is long ago. This patch should at the very least make it likely for this code
to be executed again at the right times, i.e. the way it was originally
intended to be used.

Originally committed as revision 17993 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAdd cook channel count function, part of multichannel cook
Benjamin Larsson [Sun, 15 Mar 2009 19:36:45 +0000 (19:36 +0000)]
Add cook channel count function, part of multichannel cook

Originally committed as revision 17992 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAdd max allowed subpackets in multichannel cook
Benjamin Larsson [Sun, 15 Mar 2009 19:34:52 +0000 (19:34 +0000)]
Add max allowed subpackets in multichannel cook

Originally committed as revision 17991 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoRemove code that was disabled by the recent major version bump.
Diego Biurrun [Sun, 15 Mar 2009 17:20:24 +0000 (17:20 +0000)]
Remove code that was disabled by the recent major version bump.

Originally committed as revision 17990 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoFix typo: 'conjuction' -> 'conjunction'.
Stefano Sabatini [Sun, 15 Mar 2009 16:36:36 +0000 (16:36 +0000)]
Fix typo: 'conjuction' -> 'conjunction'.

Originally committed as revision 17989 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agosave avctx in cook decoder context and use it for av_log
Benjamin Larsson [Sun, 15 Mar 2009 14:11:11 +0000 (14:11 +0000)]
save avctx in cook decoder context and use it for av_log

Originally committed as revision 17988 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agomemset when category is >=7, part of cook multichannel
Benjamin Larsson [Sun, 15 Mar 2009 14:04:25 +0000 (14:04 +0000)]
memset when category is >=7, part of cook multichannel

Originally committed as revision 17987 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years ago1 km^3 cola, timecode_frame_start is a 64 bit integer, this resulted in
Reimar Döffinger [Sun, 15 Mar 2009 13:38:36 +0000 (13:38 +0000)]
1 km^3 cola, timecode_frame_start is a 64 bit integer, this resulted in
complete nonsense if timecode_frame_start was used on big-endian systems.

Originally committed as revision 17986 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoForce ebp_available for icc.
Carl Eugen Hoyos [Sun, 15 Mar 2009 13:22:41 +0000 (13:22 +0000)]
Force ebp_available for icc.
See discussion:

Originally committed as revision 17985 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agocosmetics: Remove file name from file header.
Diego Biurrun [Sun, 15 Mar 2009 12:46:07 +0000 (12:46 +0000)]
cosmetics: Remove file name from file header.

Originally committed as revision 17984 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoadd my gpg key fingerprint
Baptiste Coudurier [Sun, 15 Mar 2009 11:21:11 +0000 (11:21 +0000)]
add my gpg key fingerprint

Originally committed as revision 17983 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoadd my gpg key fingerprint
Attila Kinali [Sun, 15 Mar 2009 11:18:52 +0000 (11:18 +0000)]
add my gpg key fingerprint

Originally committed as revision 17982 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agotypo in the mail, the 4am commit is always the worst
Baptiste Coudurier [Sun, 15 Mar 2009 10:53:12 +0000 (10:53 +0000)]
typo in the mail, the 4am commit is always the worst

Originally committed as revision 17981 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agocosmetics
Baptiste Coudurier [Sun, 15 Mar 2009 10:49:52 +0000 (10:49 +0000)]

Originally committed as revision 17980 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoadd my copyright in mov de/muxer
Baptiste Coudurier [Sun, 15 Mar 2009 10:49:28 +0000 (10:49 +0000)]
add my copyright in mov de/muxer

Originally committed as revision 17979 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoExpand "lsb" to "least significant bits".
Stefano Sabatini [Sun, 15 Mar 2009 10:37:25 +0000 (10:37 +0000)]
Expand "lsb" to "least significant bits".

Originally committed as revision 17978 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoRename the (yet not defined) macros:
Stefano Sabatini [Sun, 15 Mar 2009 10:33:51 +0000 (10:33 +0000)]
Rename the (yet not defined) macros:
for consistency with the other pixfmts macros.

Originally committed as revision 17977 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoallocate palette in codec directly
Baptiste Coudurier [Sun, 15 Mar 2009 09:44:57 +0000 (09:44 +0000)]
allocate palette in codec directly

Originally committed as revision 17976 to svn://svn.ffmpeg.org/ffmpeg/trunk