11 years agoAAC parser: Don't write channels, sample rate, and frame size each frame.
Alex Converse [Thu, 4 Mar 2010 02:30:51 +0000 (02:30 +0000)]
AAC parser: Don't write channels, sample rate, and frame size each frame.

Thanks to backwards compatible HE-AAC signalling these values are unreliable.

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

11 years agoPort Optimizations about *_type init from decode to filter code.
Michael Niedermayer [Thu, 4 Mar 2010 02:00:05 +0000 (02:00 +0000)]
Port Optimizations about *_type init from decode to filter code.
1 cpu cycle faster

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

11 years agoOptimize *_type init, 1.5 cpu cycles faster.
Michael Niedermayer [Thu, 4 Mar 2010 01:03:15 +0000 (01:03 +0000)]
Optimize *_type init, 1.5 cpu cycles faster.

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

11 years agoRevert r30825, it was not supposed to be committed.
Stefano Sabatini [Thu, 4 Mar 2010 01:02:24 +0000 (01:02 +0000)]
Revert r30825, it was not supposed to be committed.

127.32L to me, beware when using git svn dcommit for committing stuff
to svn...

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

11 years agoFill the r, g, b values used for computing the c->pal_yuv table in the
Stefano Sabatini [Thu, 4 Mar 2010 00:31:13 +0000 (00:31 +0000)]
Fill the r, g, b values used for computing the c->pal_yuv table in the
case where the source format is PIX_FMT_GRAY8.

This is required as PIX_FMT_GRAY8 has been declared as a paletted
format in FFmpeg r22191, fix GRAY8 -> RGB conversion.

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

11 years agoMake swscale-test take in input the name of the input and the output
Stefano Sabatini [Thu, 4 Mar 2010 00:31:10 +0000 (00:31 +0000)]
Make swscale-test take in input the name of the input and the output

Make swscale-test only perform the test from the input to the output
format rather than perform all.

Also implement swscale-test-all.sh, for performing all the tests.

Improve flexibility of the swscale-test tool, this way is simpler to
perform only a subset of tests.

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

11 years agoDeclare the PIX_FMT_GRAY8 pixel format as a paletted format. This is
Stefano Sabatini [Thu, 4 Mar 2010 00:27:46 +0000 (00:27 +0000)]
Declare the PIX_FMT_GRAY8 pixel format as a paletted format.  This is
consistent with the allocation currently done for PIX_FMT_GRAY8

No significant slow-downs have been measured.

See the thread:
Subject: [FFmpeg-devel] [PATCH] Is gray8 a paletted format?
Date: Sun, 15 Nov 2009 23:36:03 +0100

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

11 years agoDelay translating DCT tokens into coefficients until immediately before IDCT
David Conrad [Wed, 3 Mar 2010 23:27:43 +0000 (23:27 +0000)]
Delay translating DCT tokens into coefficients until immediately before IDCT

This is generally around 12% faster than the prior method of creating a
linked list for each block as tokens are read, but can be anywhere from
8% to 28% faster depending on file and CPU.

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

11 years agoDo MC and IDCT in coding (hilbert) order
David Conrad [Wed, 3 Mar 2010 23:27:40 +0000 (23:27 +0000)]
Do MC and IDCT in coding (hilbert) order

This increases the slice size to 64 pixels, due to having to decode an
entire chroma superblock row per slice.

This can be up to 6% slower depending on clip and CPU, but is necessary
for future optimizations that gain significantly more than was lost.

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

11 years agoExplictly separate decoding whether fragments are coded by plane
David Conrad [Wed, 3 Mar 2010 23:27:37 +0000 (23:27 +0000)]
Explictly separate decoding whether fragments are coded by plane

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

11 years agomatroskaenc: use "title" tag instead of "description" in track title.
Anton Khirnov [Wed, 3 Mar 2010 23:27:34 +0000 (23:27 +0000)]
matroskaenc: use "title" tag instead of "description" in track title.

Patch by Anton Khirnov < whyskas at gmail >

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

11 years agomove vp6 huffman table freeing code, out of common vp56 code
Aurelien Jacobs [Wed, 3 Mar 2010 22:29:06 +0000 (22:29 +0000)]
move vp6 huffman table freeing code, out of common vp56 code

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

11 years agomatroskadec: cosmetic indentation
Aurelien Jacobs [Wed, 3 Mar 2010 21:49:24 +0000 (21:49 +0000)]
matroskadec: cosmetic indentation

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

11 years agomatroskadec: timestamps are dts and not pts in ms vfw compatibility mode
Joakim Plate [Wed, 3 Mar 2010 21:46:43 +0000 (21:46 +0000)]
matroskadec: timestamps are dts and not pts in ms vfw compatibility mode
original patch by elupus _at_ ecce _dot_ se

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

11 years agoReorder indexes in weight tables.
Michael Niedermayer [Wed, 3 Mar 2010 21:10:08 +0000 (21:10 +0000)]
Reorder indexes in weight tables.
5 cpu cycles faster.

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

11 years agoProperly pad H.264 extradata when taken from fmtp SDP attributes
Martin Storsjö [Wed, 3 Mar 2010 21:00:50 +0000 (21:00 +0000)]
Properly pad H.264 extradata when taken from fmtp SDP attributes

This fixes some valgrind warnings.

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

11 years agoMove all context fields that are not used in the mb and block layers
Michael Niedermayer [Wed, 3 Mar 2010 20:36:56 +0000 (20:36 +0000)]
Move all context fields that are not used in the mb and block layers
to the end of the structure.
4 cpu cycles faster in 3k cpu cycles

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

11 years agoFixed DXVA2 H264 hwaccel compilation.
Laurent Aimar [Wed, 3 Mar 2010 19:54:12 +0000 (19:54 +0000)]
Fixed DXVA2 H264 hwaccel compilation.

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

11 years agoremove unused left_border field from context.
Michael Niedermayer [Wed, 3 Mar 2010 19:44:27 +0000 (19:44 +0000)]
remove unused left_border field from context.

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

11 years agocosmetic addition of {}
Michael Niedermayer [Wed, 3 Mar 2010 19:32:50 +0000 (19:32 +0000)]
cosmetic addition of {}

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

11 years agoNote about luma/chroma_weight tables and their datatype.
Michael Niedermayer [Wed, 3 Mar 2010 19:31:58 +0000 (19:31 +0000)]
Note about luma/chroma_weight tables and their datatype.

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

11 years agoFixed overreads in TTA decoder with corrupted bistreams.
Laurent Aimar [Wed, 3 Mar 2010 19:31:46 +0000 (19:31 +0000)]
Fixed overreads in TTA decoder with corrupted bistreams.

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

11 years agoUpdate to work with chunked encoding HTTP streams (as served by FFmpeg since
Ronald S. Bultje [Wed, 3 Mar 2010 18:41:50 +0000 (18:41 +0000)]
Update to work with chunked encoding HTTP streams (as served by FFmpeg since
a few months now). Fixes issue 1738.

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

11 years agoPlug memory leak in NUT muxer and demuxer
Vitor Sessak [Wed, 3 Mar 2010 17:31:24 +0000 (17:31 +0000)]
Plug memory leak in NUT muxer and demuxer

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

11 years agoPlug memory leak in NSV demuxer.
Jai Menon [Wed, 3 Mar 2010 17:26:00 +0000 (17:26 +0000)]
Plug memory leak in NSV demuxer.

Patch by Jai Menon.

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

11 years agoPlug some memory leaks in the VP6 decoder
Vitor Sessak [Wed, 3 Mar 2010 17:24:32 +0000 (17:24 +0000)]
Plug some memory leaks in the VP6 decoder

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

11 years agomove svq3 specific fields to the end of the context
Michael Niedermayer [Wed, 3 Mar 2010 16:47:40 +0000 (16:47 +0000)]
move svq3 specific fields to the end of the context

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

11 years agoCope with rev 22169 change:
Gwenole Beauchesne [Wed, 3 Mar 2010 15:23:22 +0000 (15:23 +0000)]
Cope with rev 22169 change:
Merge weight & offset tables.

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

11 years agoMerge weight & offset tables, 15 cpu cycles faster.
Michael Niedermayer [Wed, 3 Mar 2010 14:41:43 +0000 (14:41 +0000)]
Merge weight & offset tables, 15 cpu cycles faster.

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

11 years agoSimplify implicit_weight table init.
Michael Niedermayer [Wed, 3 Mar 2010 10:57:38 +0000 (10:57 +0000)]
Simplify implicit_weight table init.

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

11 years agoPerform coefficient transformations in Bink Audio DCT decoder (issue1770)
Peter Ross [Wed, 3 Mar 2010 09:51:56 +0000 (09:51 +0000)]
Perform coefficient transformations in Bink Audio DCT decoder (issue1770)

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

11 years agoSupport demuxing of streamed Bink files
Peter Ross [Wed, 3 Mar 2010 09:44:30 +0000 (09:44 +0000)]
Support demuxing of streamed Bink files

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

11 years agouse intended const syntax
Peter Ross [Wed, 3 Mar 2010 09:38:09 +0000 (09:38 +0000)]
use intended const syntax

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

11 years agoAdd _NETBSD_SOURCE definition to fix compilation on NetBSD.
Jorge Acereda [Wed, 3 Mar 2010 09:16:45 +0000 (09:16 +0000)]
Add _NETBSD_SOURCE definition to fix compilation on NetBSD.
NetBSD is unlikely to fix their headers and the FATE box passes it
as -D_NETBSD_SOURCE on the command line anyway. In this case, it's
better to keep the hack well-contained within this file.
Closes issue 886.
patch by Jorge Acereda, jacereda brainstorm es

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

11 years agoAnother 3 useless zeroing instructions.
Michael Niedermayer [Wed, 3 Mar 2010 02:20:48 +0000 (02:20 +0000)]
Another 3 useless zeroing instructions.

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

11 years agoLoad the whole left side of mv&ref only when needed.
Michael Niedermayer [Wed, 3 Mar 2010 01:38:27 +0000 (01:38 +0000)]
Load the whole left side of mv&ref only when needed.
30 cpu cycles faster

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

11 years agoSupport B-frames when decoding MPEG-4 with VDPAU hardware acceleration.
Carl Eugen Hoyos [Wed, 3 Mar 2010 00:09:57 +0000 (00:09 +0000)]
Support B-frames when decoding MPEG-4 with VDPAU hardware acceleration.

Based on a patch by NVIDIA.

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

11 years agoMake seektest messages similar to other tests
Måns Rullgård [Tue, 2 Mar 2010 21:59:27 +0000 (21:59 +0000)]
Make seektest messages similar to other tests

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

11 years agoRun seektest on all generated files
Måns Rullgård [Tue, 2 Mar 2010 21:59:16 +0000 (21:59 +0000)]
Run seektest on all generated files

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

11 years agoPlace regtest-pixfmt output files in separate dir
Måns Rullgård [Tue, 2 Mar 2010 21:59:02 +0000 (21:59 +0000)]
Place regtest-pixfmt output files in separate dir

This test generates many output files, and keeping them separate
is convenient.

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

11 years agoRemove unused argument to test scripts
Måns Rullgård [Tue, 2 Mar 2010 21:42:03 +0000 (21:42 +0000)]
Remove unused argument to test scripts

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

11 years agoPlace regression test output files in subdirs per family
Måns Rullgård [Tue, 2 Mar 2010 21:41:52 +0000 (21:41 +0000)]
Place regression test output files in subdirs per family

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

11 years agoPlug memory leak for truncated files
Vitor Sessak [Tue, 2 Mar 2010 21:32:56 +0000 (21:32 +0000)]
Plug memory leak for truncated files

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

11 years agoPlug some memory leaks for truncated files
Vitor Sessak [Tue, 2 Mar 2010 21:32:29 +0000 (21:32 +0000)]
Plug some memory leaks for truncated files

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

11 years agoRevert "Remove the self reference in the seektest that prevented it from"
Måns Rullgård [Tue, 2 Mar 2010 17:50:24 +0000 (17:50 +0000)]
Revert "Remove the self reference in the seektest that prevented it from"

This reverts r22151.  It prevents the seektest from running at all and
is thus of no use whatsoever.

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

11 years agoRemove the self reference in the seektest that prevented it from
Michael Niedermayer [Tue, 2 Mar 2010 17:29:04 +0000 (17:29 +0000)]
Remove the self reference in the seektest that prevented it from
testing new formats since 2 years namely r11831.
This likely will uncover bugs that gone unnoticed in the last 2 years
due to lack of testing.

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

11 years agoMake sure we dont double test files and sort the list.
Michael Niedermayer [Tue, 2 Mar 2010 17:16:25 +0000 (17:16 +0000)]
Make sure we dont double test files and sort the list.

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

11 years agoPass correct buffer-pointer and buffer-size to hardware accelerated
Carl Eugen Hoyos [Tue, 2 Mar 2010 17:12:41 +0000 (17:12 +0000)]
Pass correct buffer-pointer and buffer-size to hardware accelerated
decoders when decoding packed B-frames.

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

11 years agoCodec copy test.
Michael Niedermayer [Tue, 2 Mar 2010 16:57:20 +0000 (16:57 +0000)]
Codec copy test.

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

11 years agoAdd presets for all of the x264 presets, including fastfirstpass versions.
Lou Logan [Tue, 2 Mar 2010 03:19:12 +0000 (03:19 +0000)]
Add presets for all of the x264 presets, including fastfirstpass versions.
Not 100% accurate, since not all x264 options have ffmpeg equivalents yet.

Patch by Lou Logan.

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

11 years agoMake lsp a separate configurable and select it from codecs needing it
Måns Rullgård [Tue, 2 Mar 2010 03:16:27 +0000 (03:16 +0000)]
Make lsp a separate configurable and select it from codecs needing it

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

11 years agoFix build failure with fast_unaligned and non-gcc-compatible compilers
Måns Rullgård [Tue, 2 Mar 2010 03:16:24 +0000 (03:16 +0000)]
Fix build failure with fast_unaligned and non-gcc-compatible compilers

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

11 years agoFix a bunch of bugs ive introduced recently that broke threaded decoding.
Michael Niedermayer [Tue, 2 Mar 2010 02:24:37 +0000 (02:24 +0000)]
Fix a bunch of bugs ive introduced recently that broke threaded decoding.
might also fix issue1788

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

11 years agoMake ffmpeg print a message and abort if the name of the format
Stefano Sabatini [Tue, 2 Mar 2010 00:01:16 +0000 (00:01 +0000)]
Make ffmpeg print a message and abort if the name of the format
provided with -f was unknown.

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

11 years agoAdd a check for checking if more than one input file is provided to
Stefano Sabatini [Mon, 1 Mar 2010 23:10:27 +0000 (23:10 +0000)]
Add a check for checking if more than one input file is provided to
ffplay, make it complain and abort in that case as just one input file
is currently supported.

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

11 years agoClarify the error message issued by ffprobe in case of more than one
Stefano Sabatini [Mon, 1 Mar 2010 23:02:56 +0000 (23:02 +0000)]
Clarify the error message issued by ffprobe in case of more than one
file provided as input.

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

11 years agoFix spelling in comment
Vitor Sessak [Mon, 1 Mar 2010 20:42:13 +0000 (20:42 +0000)]
Fix spelling in comment

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

11 years agoAdd commented-out unoptimized code to improve readability
Vitor Sessak [Mon, 1 Mar 2010 19:56:51 +0000 (19:56 +0000)]
Add commented-out unoptimized code to improve readability

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

11 years agoRevert r22119 and partially revert 22120.
Vitor Sessak [Mon, 1 Mar 2010 18:16:10 +0000 (18:16 +0000)]
Revert r22119 and partially revert 22120.

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

11 years agoAdd Reinhard and myself as release managers.
Diego Biurrun [Mon, 1 Mar 2010 17:50:34 +0000 (17:50 +0000)]
Add Reinhard and myself as release managers.

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

11 years agoProcess packed bitstream also for VDPAU.
Carl Eugen Hoyos [Mon, 1 Mar 2010 16:52:35 +0000 (16:52 +0000)]
Process packed bitstream also for VDPAU.

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

11 years agoDon't let output pixel format influence input pixel format.
Chris Stones [Mon, 1 Mar 2010 16:47:44 +0000 (16:47 +0000)]
Don't let output pixel format influence input pixel format.

Patch by Chris Stones,  chris D stones A gmail

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

11 years agoFix AMR-NB entry in the supported audio codecs list.
Diego Biurrun [Mon, 1 Mar 2010 14:30:28 +0000 (14:30 +0000)]
Fix AMR-NB entry in the supported audio codecs list.
The decoding and encoding rows were switched around.

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

11 years agonutdec: make chapter start and length uint64_t to prevent overflows.
Anton Khirnov [Mon, 1 Mar 2010 07:26:41 +0000 (07:26 +0000)]
nutdec: make chapter start and length uint64_t to prevent overflows.
Patch by Anton Khirnov wyskas chez gmail punto com

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

11 years agoffmpeg: copy stream metadata.
Anton Khirnov [Mon, 1 Mar 2010 07:22:59 +0000 (07:22 +0000)]
ffmpeg: copy stream metadata.
Patch by Anton Khirnov wyskasgmailcom

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

11 years agorevert r22112 which broke playback of cathedral-beta2-400extra-crop-avc.mp4
Aurelien Jacobs [Mon, 1 Mar 2010 00:22:43 +0000 (00:22 +0000)]
revert r22112 which broke playback of cathedral-beta2-400extra-crop-avc.mp4

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

11 years agoRemove some unneeded fill_rectangle() for 16x16 blocks.
Michael Niedermayer [Sun, 28 Feb 2010 23:54:24 +0000 (23:54 +0000)]
Remove some unneeded fill_rectangle() for 16x16 blocks.

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

11 years agoExplicitly set struct addrinfo to NULL if getaddrinfo failed instead of
Reimar Döffinger [Sun, 28 Feb 2010 22:33:22 +0000 (22:33 +0000)]
Explicitly set struct addrinfo to NULL if getaddrinfo failed instead of
assuming getaddrinfo will have done this.

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

11 years agoMake our getaddrinfo implementation initialize "struct addrinfo" return
Reimar Döffinger [Sun, 28 Feb 2010 22:31:17 +0000 (22:31 +0000)]
Make our getaddrinfo implementation initialize "struct addrinfo" return
value to NULL on errors.

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

11 years agoPlug some memory leaks in NUT muxer and demuxer
Vitor Sessak [Sun, 28 Feb 2010 20:49:21 +0000 (20:49 +0000)]
Plug some memory leaks in NUT muxer and demuxer

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

11 years agoImplement av_tree_destroy_free_elem() to destroy a tree and free all the
Vitor Sessak [Sun, 28 Feb 2010 20:48:42 +0000 (20:48 +0000)]
Implement av_tree_destroy_free_elem() to destroy a tree and free all the
values stored on it.

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

11 years agoMake av_build_filter static (and remove av_): It is not used outside resample2.c.
Carl Eugen Hoyos [Sun, 28 Feb 2010 19:58:26 +0000 (19:58 +0000)]
Make av_build_filter static (and remove av_): It is not used outside resample2.c.

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

11 years agoMake av_get_bit_rate() static and remove av_, the function is only used
Carl Eugen Hoyos [Sun, 28 Feb 2010 19:05:51 +0000 (19:05 +0000)]
Make av_get_bit_rate() static and remove av_, the function is only used
inside libavcodec/utils.c.

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

11 years agoInclude libxvid_internal.h: It contains the prototype for av_tempfile().
Carl Eugen Hoyos [Sun, 28 Feb 2010 19:03:38 +0000 (19:03 +0000)]
Include libxvid_internal.h: It contains the prototype for av_tempfile().

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

11 years agoMake the following functions static (and remove ff_), they are only used
Carl Eugen Hoyos [Sun, 28 Feb 2010 18:57:18 +0000 (18:57 +0000)]
Make the following functions static (and remove ff_), they are only used
inside libxvidff.c:
ff_xvid_encode_init(), ff_xvid_encode_frame(), ff_xvid_encode_close()

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

11 years agoMake function get_channel_name() static: It is only used in audioconvert.c.
Carl Eugen Hoyos [Sun, 28 Feb 2010 18:50:56 +0000 (18:50 +0000)]
Make function get_channel_name() static: It is only used in audioconvert.c.

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

11 years agoPrint chapter info in dump_format().
Anton Khirnov [Sun, 28 Feb 2010 18:37:09 +0000 (18:37 +0000)]
Print chapter info in dump_format().

Patch by Anton Khirnov, wyskas gmail

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

11 years agoProcess picture aspect ratio changes in H.264.
Janusz Krzysztofik [Sun, 28 Feb 2010 18:33:33 +0000 (18:33 +0000)]
Process picture aspect ratio changes in H.264.
This fixes playback of such streams with ffplay (but does not affect
current ffmpeg).

Patch by Janusz Krzysztofik, jkrzyszt A tis D icnet D pl

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

11 years agoMany mp3s seem to contain padding after id3 tags that is not considered in the
Michael Niedermayer [Sun, 28 Feb 2010 16:40:17 +0000 (16:40 +0000)]
Many mp3s seem to contain padding after id3 tags that is not considered in the
tag size. Skip this to make the format probing quicker.

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

11 years agoFree packets read in seek_test.
Reimar Döffinger [Sun, 28 Feb 2010 11:18:04 +0000 (11:18 +0000)]
Free packets read in seek_test.

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

11 years agoRename RTP depacketizer files from rtp_* to rtpdec_*
Martin Storsjö [Sun, 28 Feb 2010 11:03:14 +0000 (11:03 +0000)]
Rename RTP depacketizer files from rtp_* to rtpdec_*

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

11 years agoFix some memory leaks in seek_test test program:
Reimar Döffinger [Sun, 28 Feb 2010 10:58:27 +0000 (10:58 +0000)]
Fix some memory leaks in seek_test test program:
- do not allocate context twice
- close the input file before exiting

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

11 years agoInclude rtpdec.h, it contains prototypes for the following functions:
Carl Eugen Hoyos [Sun, 28 Feb 2010 03:59:15 +0000 (03:59 +0000)]
Include rtpdec.h, it contains prototypes for the following functions:
rtp_set_remote_url(), rtp_get_local_port(), rtp_get_file_handles()

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

11 years agoInclude internal.h and imgconvert.h, they contain the prototypes for the
Carl Eugen Hoyos [Sun, 28 Feb 2010 03:52:10 +0000 (03:52 +0000)]
Include internal.h and imgconvert.h, they contain the prototypes for the
following functions:
ff_is_hwaccel_pix_fmt(), ff_set_systematic_pal(), ff_fill_linesize(),
ff_fill_pointer(), ff_get_plane_bytewidth()

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

11 years agoInclude msrledec.h: It contains the prototype for ff_msrle_decode().
Carl Eugen Hoyos [Sun, 28 Feb 2010 03:41:59 +0000 (03:41 +0000)]
Include msrledec.h: It contains the prototype for ff_msrle_decode().

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

11 years agoInclude atrac.h: It contains the prototypes for atrac_generate_tables()
Carl Eugen Hoyos [Sun, 28 Feb 2010 03:39:11 +0000 (03:39 +0000)]
Include atrac.h: It contains the prototypes for atrac_generate_tables()
and atrac_iqmf().

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

11 years agoInclude mpegaudiodecheader.h: It contains the prototype for
Carl Eugen Hoyos [Sun, 28 Feb 2010 03:27:10 +0000 (03:27 +0000)]
Include mpegaudiodecheader.h: It contains the prototype for

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

11 years agoRemove declaration of unused variables.
Carl Eugen Hoyos [Sun, 28 Feb 2010 03:02:25 +0000 (03:02 +0000)]
Remove declaration of unused variables.

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

11 years agoInclude h263_parser.h: It contains the prototype for
Carl Eugen Hoyos [Sun, 28 Feb 2010 02:44:36 +0000 (02:44 +0000)]
Include h263_parser.h: It contains the prototype for

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

11 years agoInclude mpeg4video.h: Needed for declaration of ff_mpeg4_decode_picture_header.
Carl Eugen Hoyos [Sun, 28 Feb 2010 02:41:20 +0000 (02:41 +0000)]
Include mpeg4video.h: Needed for declaration of ff_mpeg4_decode_picture_header.

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

11 years agoInclude sha1.h from sha.c: It contains several prototypes.
Carl Eugen Hoyos [Sun, 28 Feb 2010 02:32:16 +0000 (02:32 +0000)]
Include sha1.h from sha.c: It contains several prototypes.

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

11 years agoMake sws_dcVec static: It is only used inside libswscale/utils.c.
Carl Eugen Hoyos [Sun, 28 Feb 2010 02:18:16 +0000 (02:18 +0000)]
Make sws_dcVec static: It is only used inside libswscale/utils.c.

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

11 years agoInclude avc.h from avc.c: It contains several prototypes.
Carl Eugen Hoyos [Sun, 28 Feb 2010 02:04:34 +0000 (02:04 +0000)]
Include avc.h from avc.c: It contains several prototypes.

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

11 years agoMake mp4_read_descr static: It is only used inside libavformat/mov.c.
Carl Eugen Hoyos [Sun, 28 Feb 2010 01:51:13 +0000 (01:51 +0000)]
Make mp4_read_descr static: It is only used inside libavformat/mov.c.

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

11 years agoInclude apetag.h which contains the prototype for ff_ape_parse_tag().
Carl Eugen Hoyos [Sun, 28 Feb 2010 01:43:47 +0000 (01:43 +0000)]
Include apetag.h which contains the prototype for ff_ape_parse_tag().

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

11 years agoFix avcodec_align_dimensions to return values suitably aligned for FLV decoding
Reimar Döffinger [Sat, 27 Feb 2010 21:13:22 +0000 (21:13 +0000)]
Fix avcodec_align_dimensions to return values suitably aligned for FLV decoding
with SSE and add a avcodec_align_dimensions2 taht returns the stride alignment
requirements independently from doing the width/height padding.

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

11 years agoStop make deleting intermediate files (ffmpeg.o and friends)
Måns Rullgård [Sat, 27 Feb 2010 15:25:28 +0000 (15:25 +0000)]
Stop make deleting intermediate files (ffmpeg.o and friends)

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

11 years agoStrides in Indeo 5 reconstruction filter should be signed,
Jindřich Makovička [Sat, 27 Feb 2010 14:08:06 +0000 (14:08 +0000)]
Strides in Indeo 5 reconstruction filter should be signed,
this way it works on 64-bit archs too.

Patch by Jindřich Makovička ($lastname without last letter and háček, gmail)

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

11 years agoEncapsulate VLC information needed for decoding blocks and macroblocks in
Kostya Shishkov [Sat, 27 Feb 2010 12:32:31 +0000 (12:32 +0000)]
Encapsulate VLC information needed for decoding blocks and macroblocks in
Indeo 5 into single structure IVIHuffTab and factorize code using it.

Based on patch by Maxim (max_pole at German GMX)

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

11 years agoMake it clear that ff_ivi_init_static_vlc() does not need arguments
Kostya Shishkov [Sat, 27 Feb 2010 12:12:56 +0000 (12:12 +0000)]
Make it clear that ff_ivi_init_static_vlc() does not need arguments

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