]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoRemove unused libavutil/random.h #include.
diego [Fri, 20 Mar 2009 10:48:01 +0000 (10:48 +0000)]
Remove unused libavutil/random.h #include.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18067 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse correct header for struct AVLFG.
diego [Fri, 20 Mar 2009 10:47:02 +0000 (10:47 +0000)]
Use correct header for struct AVLFG.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18066 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoresync ffm if error in stream
bcoudurier [Fri, 20 Mar 2009 01:44:45 +0000 (01:44 +0000)]
resync ffm if error in stream

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18065 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agotypo, fix eof check
bcoudurier [Fri, 20 Mar 2009 01:39:55 +0000 (01:39 +0000)]
typo, fix eof check

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18064 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agodo not write ffm write index by default, detect if file is being written and return EOF
bcoudurier [Fri, 20 Mar 2009 01:23:33 +0000 (01:23 +0000)]
do not write ffm write index by default, detect if file is being written and return EOF

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18063 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd byte reordering for the SIPRO audio codec. See "rmdec.c: add SIPR codec
rbultje [Fri, 20 Mar 2009 01:22:51 +0000 (01:22 +0000)]
Add byte reordering for the SIPRO audio codec. See "rmdec.c: add SIPR codec
try #2" thread. Patch originally by Vladimir Voroshilov.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18062 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAssign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
rbultje [Fri, 20 Mar 2009 01:11:08 +0000 (01:11 +0000)]
Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
SDP line handler that parses the streamID in the SDP so that ASF stream
data can be matched to their respective streams in the RTSP demuxer. See
"[PATCH] RTSP-MS 12/15: ASF payload support" thread on mailinglist.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18061 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocheck av_find_stream_info return value
bcoudurier [Fri, 20 Mar 2009 01:07:22 +0000 (01:07 +0000)]
check av_find_stream_info return value

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18060 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouniformize log messages and add some more
bcoudurier [Fri, 20 Mar 2009 01:05:51 +0000 (01:05 +0000)]
uniformize log messages and add some more

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18059 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18058 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18057 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake softfloat test program compile again: Setting the av_log_level variable
diego [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().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18056 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake AES test program compile again: Setting the av_log_level variable
diego [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().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18055 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove useless casting in asm "m" operand.
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18054 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18053 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoset avi fsize to INT64_MAX if riff tag end is not set and file size is not available
bcoudurier [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18052 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18051 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18050 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18049 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix indentation after r18047.
reimar [Thu, 19 Mar 2009 21:36:59 +0000 (21:36 +0000)]
Fix indentation after r18047.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18048 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoChange linesize alignment method to ensure that linesize[0] == 2*linesize[1]
reimar [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18047 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDo not set linesize for palette data, it does not make sense and creates
reimar [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18046 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18045 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18044 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18043 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18042 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18041 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix compilation of adler32 test program: Use av_log_set_level()
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18040 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18039 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18038 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18037 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFlush the remaning chars in the input buffer after reading the
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18036 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18035 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18034 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18033 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename GUID typedef to ff_asf_guid to fix MinGW compilation failure
reimar [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).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18032 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18031 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd a special guidcmp function to compare ASF guids, to avoid the many
reimar [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).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18030 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18029 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18028 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouse intptr_t to cast pointers to int in codecs maintained by benjamin larsson
ramiro [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18027 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix wrong @file tag.
rbultje [Tue, 17 Mar 2009 18:35:58 +0000 (18:35 +0000)]
Fix wrong @file tag.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18026 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAmend AVCodecContext with hwaccel_context (HW accelerator context).
gb [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
VA API and VDPAU.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18025 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18024 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18023 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18022 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18021 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix SEIs when splitting H264 input.
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18020 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoExtend mov edit list support to work for a first padding entry with
reimar [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18019 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agormdec: fix crash at end of file
mru [Mon, 16 Mar 2009 20:22:39 +0000 (20:22 +0000)]
rmdec: fix crash at end of file

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18018 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18017 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18016 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18015 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18014 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoParse index chunk so that seeking in modern .rm files becomes a lot faster.
rbultje [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18013 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18012 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReindent after r18010.
rbultje [Mon, 16 Mar 2009 13:01:02 +0000 (13:01 +0000)]
Reindent after r18010.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18011 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMark the first output audio frame as keyframe (separate patch from previous,
rbultje [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
duplication".

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18010 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove packet returning in ff_rm_parse_packet() if we're using the packet
rbultje [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18009 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18008 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18007 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18006 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMerge code for packet reading in "old" (.ra, audio-only) Realmedia files and
rbultje [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18005 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18004 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agosimplify printing
bcoudurier [Mon, 16 Mar 2009 06:46:28 +0000 (06:46 +0000)]
simplify printing

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18003 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoreindent
bcoudurier [Mon, 16 Mar 2009 06:44:16 +0000 (06:44 +0000)]
reindent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18002 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18001 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18000 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17999 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17998 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove long unused ALTIVEC_USE_REFERENCE_C_CODE ifdef; all other references
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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17997 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17996 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17995 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDisallow out-of-tree builds with config.h in the source tree.
diego [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17994 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix index generation in the way that it was supposed to be used. See the
rbultje [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
code".

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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17993 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17992 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17991 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17990 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17989 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17988 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17987 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years ago1 km^3 cola, timecode_frame_start is a 64 bit integer, this resulted in
reimar [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17986 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoForce ebp_available for icc.
cehoyos [Sun, 15 Mar 2009 13:22:41 +0000 (13:22 +0000)]
Force ebp_available for icc.
See discussion:
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/86209

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17985 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17984 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17983 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17982 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17981 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics
bcoudurier [Sun, 15 Mar 2009 10:49:52 +0000 (10:49 +0000)]
cosmetics

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17980 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17979 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17978 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename the (yet not defined) macros:
stefano [Sun, 15 Mar 2009 10:33:51 +0000 (10:33 +0000)]
Rename the (yet not defined) macros:
PIX_FMT_RGB565_BE -> PIX_FMT_RGB565BE
PIX_FMT_RGB565_LE -> PIX_FMT_RGB565LE
for consistency with the other pixfmts macros.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17977 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17976 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics, add some whitespaces and empty lines
bcoudurier [Sun, 15 Mar 2009 09:06:36 +0000 (09:06 +0000)]
cosmetics, add some whitespaces and empty lines

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17975 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCorrect MV prediction for B-frame blocks in RV4 decoder
kostya [Sun, 15 Mar 2009 08:21:42 +0000 (08:21 +0000)]
Correct MV prediction for B-frame blocks in RV4 decoder

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17974 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoadd loglevel option to set libav* logging level, -v does not set it anymore
bcoudurier [Sun, 15 Mar 2009 07:23:18 +0000 (07:23 +0000)]
add loglevel option to set libav* logging level, -v does not set it anymore

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17973 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agodo not modify sample_count, check against index entries
bcoudurier [Sun, 15 Mar 2009 07:21:22 +0000 (07:21 +0000)]
do not modify sample_count, check against index entries

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17972 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouse utc time for timestamp and do not set it if not specified
bcoudurier [Sat, 14 Mar 2009 23:39:52 +0000 (23:39 +0000)]
use utc time for timestamp and do not set it if not specified

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17971 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix ff_random_get_seed() prototype
mru [Sat, 14 Mar 2009 23:00:57 +0000 (23:00 +0000)]
Fix ff_random_get_seed() prototype

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17970 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoswf timestamps are 16 bits
bcoudurier [Sat, 14 Mar 2009 22:51:38 +0000 (22:51 +0000)]
swf timestamps are 16 bits

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17969 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoremove unused fields in swf context
bcoudurier [Sat, 14 Mar 2009 22:49:01 +0000 (22:49 +0000)]
remove unused fields in swf context

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17968 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b