platform/upstream/libav.git
14 years agoRevert commit 22378.
Vitor Sessak [Tue, 9 Mar 2010 08:20:11 +0000 (08:20 +0000)]
Revert commit 22378.

It broke FATE and kostya asked me on IRC to revert it.

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

14 years agoFix compilation on powerpc with --disable-altivec
Reinhard Tartler [Tue, 9 Mar 2010 08:07:34 +0000 (08:07 +0000)]
Fix compilation on powerpc with --disable-altivec

in case altivec is disabled, even compilation of code using altivec
keywords or asm must be avoided.

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

14 years agoCheck for reference frames so RV 3/4 won't segfault trying to copy data from
Kostya Shishkov [Tue, 9 Mar 2010 07:14:34 +0000 (07:14 +0000)]
Check for reference frames so RV 3/4 won't segfault trying to copy data from
nonexisting reference.

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

14 years agovp3: correctly clip vp3_draw_horiz_band call
David Conrad [Tue, 9 Mar 2010 06:52:33 +0000 (06:52 +0000)]
vp3: correctly clip vp3_draw_horiz_band call

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

14 years ago10l: Include missing return values in functions made non-void by the previous commit.
Alex Converse [Tue, 9 Mar 2010 06:21:41 +0000 (06:21 +0000)]
10l: Include missing return values in functions made non-void by the previous commit.

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

14 years agoaacsbr: Propagate errors from read_sbr_grid to prevent crashes in malformatted streams.
Alex Converse [Tue, 9 Mar 2010 06:13:48 +0000 (06:13 +0000)]
aacsbr: Propagate errors from read_sbr_grid to prevent crashes in malformatted streams.

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

14 years agoAdd a missing fft.h include to the aacsbr decoder.
Georgi Chorbadzhiyski [Tue, 9 Mar 2010 06:11:45 +0000 (06:11 +0000)]
Add a missing fft.h include to the aacsbr decoder.

Patch by Georgi Chorbadzhiyski gf at unixsol dot org

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

14 years agoAdd missing build dependencies for the AAC decoder caused by adding of SBR.
Georgi Chorbadzhiyski [Tue, 9 Mar 2010 06:10:01 +0000 (06:10 +0000)]
Add missing build dependencies for the AAC decoder caused by adding of SBR.

Patch by Georgi Chorbadzhiyski gf at unixsol dor org

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

14 years agomkvenc: Handle negative timestamps correctly
David Conrad [Tue, 9 Mar 2010 04:23:36 +0000 (04:23 +0000)]
mkvenc: Handle negative timestamps correctly

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

14 years agomkvenc: Don't try to write packets with unknown timestamps
David Conrad [Tue, 9 Mar 2010 04:23:33 +0000 (04:23 +0000)]
mkvenc: Don't try to write packets with unknown timestamps

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

14 years agomkvenc: write dts for VFW mode
David Conrad [Tue, 9 Mar 2010 04:23:28 +0000 (04:23 +0000)]
mkvenc: write dts for VFW mode

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

14 years agoFix encoder metadata string langcode in mov muxer
Baptiste Coudurier [Tue, 9 Mar 2010 01:53:16 +0000 (01:53 +0000)]
Fix encoder metadata string langcode in mov muxer

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

14 years agoCorrectly mark mov metadata as utf-8, using iso language code
Baptiste Coudurier [Tue, 9 Mar 2010 01:21:09 +0000 (01:21 +0000)]
Correctly mark mov metadata as utf-8, using iso language code

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

14 years agoBump avcodec minor version for kgv1 decoder
Daniel Verkamp [Tue, 9 Mar 2010 01:20:20 +0000 (01:20 +0000)]
Bump avcodec minor version for kgv1 decoder

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

14 years agoFix build on configurations without fast av_log2()
Måns Rullgård [Tue, 9 Mar 2010 01:19:28 +0000 (01:19 +0000)]
Fix build on configurations without fast av_log2()

This is a bit hackish.  I will try to think of something nicer, but
this will do for now.

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

14 years agoIn mov demuxer, convert mac encoded strings to utf-8
Baptiste Coudurier [Tue, 9 Mar 2010 01:03:42 +0000 (01:03 +0000)]
In mov demuxer, convert mac encoded strings to utf-8

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

14 years agoKega Game Video (KGV1) decoder
Daniel Verkamp [Tue, 9 Mar 2010 01:03:09 +0000 (01:03 +0000)]
Kega Game Video (KGV1) decoder

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

14 years agoPreallocate index entries in mov demuxer, huge speedup
Baptiste Coudurier [Tue, 9 Mar 2010 00:46:26 +0000 (00:46 +0000)]
Preallocate index entries in mov demuxer, huge speedup

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

14 years agoFix interlaced vc-3 decoding, issue #1753
Baptiste Coudurier [Tue, 9 Mar 2010 00:37:13 +0000 (00:37 +0000)]
Fix interlaced vc-3 decoding, issue #1753

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

14 years agovp3: Set pict_type
David Conrad [Tue, 9 Mar 2010 00:29:26 +0000 (00:29 +0000)]
vp3: Set pict_type

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

14 years agovp3: Allocate a dummy reference frame if we have no keyframe
David Conrad [Tue, 9 Mar 2010 00:29:22 +0000 (00:29 +0000)]
vp3: Allocate a dummy reference frame if we have no keyframe

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

14 years agovp3: use FF_BUFFER_TYPE_COPY
David Conrad [Tue, 9 Mar 2010 00:29:19 +0000 (00:29 +0000)]
vp3: use FF_BUFFER_TYPE_COPY

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

14 years agovp3: Don't leak buffers on errors
David Conrad [Tue, 9 Mar 2010 00:29:16 +0000 (00:29 +0000)]
vp3: Don't leak buffers on errors

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

14 years agovp3: Simplify buffer management
David Conrad [Tue, 9 Mar 2010 00:29:12 +0000 (00:29 +0000)]
vp3: Simplify buffer management

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

14 years agovp3: be less spammy on broken files
David Conrad [Tue, 9 Mar 2010 00:29:09 +0000 (00:29 +0000)]
vp3: be less spammy on broken files

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

14 years agoIn mpegts muxer, write adts header if aac bitstream does not contain it
Baptiste Coudurier [Tue, 9 Mar 2010 00:18:49 +0000 (00:18 +0000)]
In mpegts muxer, write adts header if aac bitstream does not contain it

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

14 years agoIn mpegts muxer, search for h264 aud nal, it might not be the first nal.
Baptiste Coudurier [Mon, 8 Mar 2010 23:59:05 +0000 (23:59 +0000)]
In mpegts muxer, search for h264 aud nal, it might not be the first nal.
Improve ther error message when bitstream is malformated and tell user to use
the bitstream filter.

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

14 years agoRemove definition of match_ext(), which is declared under #ifdef
Stefano Sabatini [Mon, 8 Mar 2010 23:51:53 +0000 (23:51 +0000)]
Remove definition of match_ext(), which is declared under #ifdef
HAVE_AV_CONFIG_H and so not publicly declared, and currently unused.

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

14 years agompegts vbr muxing, activated when muxing rate is not supplied by the
Baptiste Coudurier [Mon, 8 Mar 2010 23:46:19 +0000 (23:46 +0000)]
mpegts vbr muxing, activated when muxing rate is not supplied by the
user.

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

14 years agoReplace last occurrence of the deprecated match_ext() with
Stefano Sabatini [Mon, 8 Mar 2010 23:46:04 +0000 (23:46 +0000)]
Replace last occurrence of the deprecated match_ext() with
av_match_ext().

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

14 years agoStart continuity counter at 0 for pmt as well
Baptiste Coudurier [Mon, 8 Mar 2010 22:44:03 +0000 (22:44 +0000)]
Start continuity counter at 0 for pmt as well

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

14 years agoMore descriptive names for av_stristr() parameters
Måns Rullgård [Mon, 8 Mar 2010 22:16:05 +0000 (22:16 +0000)]
More descriptive names for av_stristr() parameters

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

14 years agocosmetics: indent
Måns Rullgård [Mon, 8 Mar 2010 21:29:01 +0000 (21:29 +0000)]
cosmetics: indent

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

14 years agoMerge two adjacent ifdef blocks
Måns Rullgård [Mon, 8 Mar 2010 21:28:58 +0000 (21:28 +0000)]
Merge two adjacent ifdef blocks

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

14 years agoMove gcc attribute macros to new header libavutil/attributes.h
Måns Rullgård [Mon, 8 Mar 2010 21:28:56 +0000 (21:28 +0000)]
Move gcc attribute macros to new header libavutil/attributes.h

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

14 years agoMove ff_sqrt() to libavutil/intmath.h
Måns Rullgård [Mon, 8 Mar 2010 21:19:56 +0000 (21:19 +0000)]
Move ff_sqrt() to libavutil/intmath.h

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

14 years agoStart continuity counter at 0 for streams
Baptiste Coudurier [Mon, 8 Mar 2010 20:59:00 +0000 (20:59 +0000)]
Start continuity counter at 0 for streams

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

14 years ago10l typo, fix ts total bit rate computation
Baptiste Coudurier [Mon, 8 Mar 2010 20:57:42 +0000 (20:57 +0000)]
10l typo, fix ts total bit rate computation

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

14 years agoAdd missing includes in bfin and sh4 files
Måns Rullgård [Mon, 8 Mar 2010 20:17:51 +0000 (20:17 +0000)]
Add missing includes in bfin and sh4 files

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

14 years agocheckheaders: skip per-arch headers not meant for direct inclusion
Måns Rullgård [Mon, 8 Mar 2010 20:17:47 +0000 (20:17 +0000)]
checkheaders: skip per-arch headers not meant for direct inclusion

Some of the per-arch headers are only meant to be used through
the parent header of the same name.  Testing these standalone
does not make sense.

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

14 years agoARM: add some missing includes
Måns Rullgård [Mon, 8 Mar 2010 19:59:54 +0000 (19:59 +0000)]
ARM: add some missing includes

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

14 years agoCheck for allocation failure for c->lumMmx2FilterCode and c->chrMmx2FilterCode.
Reimar Döffinger [Mon, 8 Mar 2010 19:41:57 +0000 (19:41 +0000)]
Check for allocation failure for c->lumMmx2FilterCode and c->chrMmx2FilterCode.

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

14 years agoFix memleak due to incorrect VirtualFree arguments: size must be 0 for MEM_RELEASE.
Reimar Döffinger [Mon, 8 Mar 2010 19:37:10 +0000 (19:37 +0000)]
Fix memleak due to incorrect VirtualFree arguments: size must be 0 for MEM_RELEASE.

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

14 years agoARM: fix dct-test
Måns Rullgård [Mon, 8 Mar 2010 19:00:05 +0000 (19:00 +0000)]
ARM: fix dct-test

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

14 years agoSkip mpegaudio3.h in checkheaders
Måns Rullgård [Mon, 8 Mar 2010 18:54:39 +0000 (18:54 +0000)]
Skip mpegaudio3.h in checkheaders

This unused header is a placeholder for work in progress(?).

This makes checkheaders pass again.

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

14 years agoAdd lots of missing includes
Måns Rullgård [Mon, 8 Mar 2010 18:43:52 +0000 (18:43 +0000)]
Add lots of missing includes

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

14 years agoSkip the tablegen fragments in checkheaders
Måns Rullgård [Mon, 8 Mar 2010 18:43:47 +0000 (18:43 +0000)]
Skip the tablegen fragments in checkheaders

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

14 years agoAdd TESTOBJS make variable for extra objects used by test apps
Måns Rullgård [Mon, 8 Mar 2010 18:43:44 +0000 (18:43 +0000)]
Add TESTOBJS make variable for extra objects used by test apps

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

14 years agoRemove unused fast_memcpy() function in dct-test
Måns Rullgård [Mon, 8 Mar 2010 18:43:41 +0000 (18:43 +0000)]
Remove unused fast_memcpy() function in dct-test

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

14 years agoSkip cmdutils_common_opts.h fragment in checkheaders
Måns Rullgård [Mon, 8 Mar 2010 18:43:38 +0000 (18:43 +0000)]
Skip cmdutils_common_opts.h fragment in checkheaders

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

14 years agoDefine HAVE_AV_CONFIG_H for checkheaders in libs
Måns Rullgård [Mon, 8 Mar 2010 18:43:35 +0000 (18:43 +0000)]
Define HAVE_AV_CONFIG_H for checkheaders in libs

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

14 years agoMove dctref prototypes to a header file
Måns Rullgård [Mon, 8 Mar 2010 18:43:33 +0000 (18:43 +0000)]
Move dctref prototypes to a header file

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

14 years agoDefine HAVE_AV_CONFIG_H when building test apps
Måns Rullgård [Mon, 8 Mar 2010 18:43:29 +0000 (18:43 +0000)]
Define HAVE_AV_CONFIG_H when building test apps

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

14 years agoMove resolve_host() to ffserver.c
Måns Rullgård [Mon, 8 Mar 2010 18:43:27 +0000 (18:43 +0000)]
Move resolve_host() to ffserver.c

This deprecated function is only used by ffserver, yet does not have
a prototype visible there.

In the long term, ffserver should be made IPv6-aware.  In the meantime,
this change removes cruft from lavf and fixes some warnings in ffserver.

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

14 years agoAdd missing stdlib.h #include, fixes the warnings:
Diego Biurrun [Mon, 8 Mar 2010 17:00:21 +0000 (17:00 +0000)]
Add missing stdlib.h #include, fixes the warnings:
tools/trasher.c:44: warning: implicit declaration of function ‘atoi’
tools/trasher.c:53: warning: implicit declaration of function ‘abs’

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

14 years agoMove the local includes below the system includes
Martin Storsjö [Mon, 8 Mar 2010 15:12:36 +0000 (15:12 +0000)]
Move the local includes below the system includes

This fixes a compilation issue on OS X 10.4, where some system headers were
included implicitly through dsputil_altivec.h (with _POSIX_C_SOURCE defined),
and other system headers included later, with _POSIX_C_SOURCE undefined at
that time.

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

14 years agoUse ASF supports "markers" which are a name and a time stamp to create
Vladimir Pantelic [Mon, 8 Mar 2010 13:13:18 +0000 (13:13 +0000)]
Use ASF supports "markers" which are a name and a time stamp to create
lavf chapters.
Patch by Vladimir Pantelic pan (arobase) nt tu (dash) darmstadt de

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

14 years agow32thread: Make avcodec_thread_execute2() static here as well
Andreas Öman [Mon, 8 Mar 2010 12:58:22 +0000 (12:58 +0000)]
w32thread: Make avcodec_thread_execute2() static here as well

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

14 years agoMake avcodec_thread_execute2() static
Andreas Öman [Mon, 8 Mar 2010 12:55:54 +0000 (12:55 +0000)]
Make avcodec_thread_execute2() static

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

14 years agoAdd doxygen documentation for ff_url_split
Martin Storsjö [Mon, 8 Mar 2010 09:07:41 +0000 (09:07 +0000)]
Add doxygen documentation for ff_url_split

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

14 years agoReindent
Martin Storsjö [Mon, 8 Mar 2010 09:05:03 +0000 (09:05 +0000)]
Reindent

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

14 years agoRename url_split to ff_url_split
Martin Storsjö [Mon, 8 Mar 2010 09:03:25 +0000 (09:03 +0000)]
Rename url_split to ff_url_split

Since this function isn't in the public API, it should have an ff_ prefix.

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

14 years agotargeenc: fix rgb555 encoding on big endian systems.
Alexis Ballier [Mon, 8 Mar 2010 08:43:20 +0000 (08:43 +0000)]
targeenc: fix rgb555 encoding on big endian systems.
Patch by Alexis Ballier gmail_address(name, surname)

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

14 years agoMake Indeo 5 decoder more robust on bitstream errors.
Maxim Poliakovski [Mon, 8 Mar 2010 06:52:33 +0000 (06:52 +0000)]
Make Indeo 5 decoder more robust on bitstream errors.
Patch by Maxim ($indeo5dec_author)

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

14 years agoScale tile dimensions in case both local decoding and scalability mode
Maxim Poliakovski [Mon, 8 Mar 2010 06:49:16 +0000 (06:49 +0000)]
Scale tile dimensions in case both local decoding and scalability mode
are used in Indeo 5 stream.
Patch by Maxim ($indeo5dec_author)

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

14 years agoAdd myself to CREDITS
Alex Converse [Mon, 8 Mar 2010 05:04:29 +0000 (05:04 +0000)]
Add myself to CREDITS

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

14 years agoAdd an HE-AAC v1 decoder.
Alex Converse [Mon, 8 Mar 2010 04:33:02 +0000 (04:33 +0000)]
Add an HE-AAC v1 decoder.

A large portion of this code was orignally authored by Robert Swain. The rest
was written by me. Full history is available at:
svn://svn.ffmpeg.org/soc/aac-sbr
http://github.com/aconverse/ffmpeg-heaac/tree/sbr_pub

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

14 years agoRevert "Move the probe loop from av_open_input_file() into its own method"
Måns Rullgård [Mon, 8 Mar 2010 03:46:37 +0000 (03:46 +0000)]
Revert "Move the probe loop from av_open_input_file() into its own method"

This reverts r22296.  This change made some files to fail to open.
The patch submitter has promised to investigate next week.

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

14 years agoavfilter: make avfilter_default_free_video_buffer() static
Måns Rullgård [Mon, 8 Mar 2010 03:41:19 +0000 (03:41 +0000)]
avfilter: make avfilter_default_free_video_buffer() static

This function is not referenced outside this file and has no
prototype.  Feel free to flame if this is wrong.

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

14 years agoError on missing function prototypes with gcc
Måns Rullgård [Mon, 8 Mar 2010 02:36:27 +0000 (02:36 +0000)]
Error on missing function prototypes with gcc

This makes it an error to not have a prototype in scope for
a function with external linkage.  The flag is only enabled
for gcc due to -Werror=type not working with all compilers.

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

14 years agosh4: move dsputil prototypes to header file
Måns Rullgård [Mon, 8 Mar 2010 02:36:22 +0000 (02:36 +0000)]
sh4: move dsputil prototypes to header file

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

14 years agosh4: fix about 1000 warnings
Måns Rullgård [Mon, 8 Mar 2010 02:36:16 +0000 (02:36 +0000)]
sh4: fix about 1000 warnings

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

14 years agobfin: fix function prototypes
Måns Rullgård [Mon, 8 Mar 2010 02:36:11 +0000 (02:36 +0000)]
bfin: fix function prototypes

Move prototypes to header files, add missing prototypes,
make some functions static.

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

14 years agoARM: move mpegvideo prototypes to a header file
Måns Rullgård [Mon, 8 Mar 2010 02:36:07 +0000 (02:36 +0000)]
ARM: move mpegvideo prototypes to a header file

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

14 years agoAlpha: move dsputil prototypes to a header file
Måns Rullgård [Mon, 8 Mar 2010 02:36:03 +0000 (02:36 +0000)]
Alpha: move dsputil prototypes to a header file

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

14 years agoIFF: move ff_cmap_read_palette() prototype to a header file
Måns Rullgård [Mon, 8 Mar 2010 02:36:00 +0000 (02:36 +0000)]
IFF: move ff_cmap_read_palette() prototype to a header file

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

14 years agoFix concat seeking SEEK_END case.
Wolfram Gloger [Mon, 8 Mar 2010 00:40:22 +0000 (00:40 +0000)]
Fix concat seeking SEEK_END case.

Patch by Wolfram Gloger wmglo ^ dent.med.uni-muenchen.de.

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

14 years agoMake ffserver regression test run (still fails)
Måns Rullgård [Mon, 8 Mar 2010 00:27:00 +0000 (00:27 +0000)]
Make ffserver regression test run (still fails)

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

14 years agoregtest: move md5sum wrappers into separate file
Måns Rullgård [Mon, 8 Mar 2010 00:26:58 +0000 (00:26 +0000)]
regtest: move md5sum wrappers into separate file

ffserver-regression.sh doesn't need anything else from
regression-funcs.sh, and sourcing the entire file there
breaks things.

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

14 years agoffserver: remove bogus comment
Måns Rullgård [Mon, 8 Mar 2010 00:26:54 +0000 (00:26 +0000)]
ffserver: remove bogus comment

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

14 years agoFix concat seek result.
Wolfram Gloger [Mon, 8 Mar 2010 00:22:03 +0000 (00:22 +0000)]
Fix concat seek result.

Patch by Wolfram Gloger wmglo AT-SIGN dent.med.uni-muenchen DOT de.

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

14 years agoav_find_stream_info(): Add a workaround for backwards compatible HE-AAC signaling.
Alex Converse [Mon, 8 Mar 2010 00:00:50 +0000 (00:00 +0000)]
av_find_stream_info(): Add a workaround for backwards compatible HE-AAC signaling.

The sample rate, frame size, and channel count from the container are
not reliable when backwards compatible signaling is used.

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

14 years agoMake avfilter_default_start_frame() correctly pass the aspect ratio
Stefano Sabatini [Sun, 7 Mar 2010 23:53:47 +0000 (23:53 +0000)]
Make avfilter_default_start_frame() correctly pass the aspect ratio
information to the next filter.

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

14 years ago10l: AAC: Set multiplier to 0.
Alex Converse [Sun, 7 Mar 2010 23:52:33 +0000 (23:52 +0000)]
10l: AAC: Set multiplier to 0.

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

14 years agoAAC: Set codec parameters in the first frame rather than in .init()
Alex Converse [Sun, 7 Mar 2010 23:46:40 +0000 (23:46 +0000)]
AAC: Set codec parameters in the first frame rather than in .init()

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

14 years agoFix pts->dts conversion init for non-zero initial value for pts.
Daniel Kristjansson [Sun, 7 Mar 2010 23:10:18 +0000 (23:10 +0000)]
Fix pts->dts conversion init for non-zero initial value for pts.

Patch by Daniel Kristjansson, danielk cuymedia net

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

14 years agoMove the probe loop from av_open_input_file() into its own method
Micah F. Galizia [Sun, 7 Mar 2010 22:42:11 +0000 (22:42 +0000)]
Move the probe loop from av_open_input_file() into its own method
av_probe_input_buffer() so that it can be reused. Here are a few
differences to the original way things were probed:

- maximum probe buffer size can be specified as a parameter.

- offset within the stream to probe from can be specified as a parameter.

- instead of seeking back to the start each time a probe fails, stream
  data is appended to the reallocated buffer. This lowers the amount
  of data read from the stream (there is no repetition) and results in
  fewer closed and reopened streams (when seeking fails).

Patch by Micah F. Galizia printf("%s%s@%s.%s", "micah", "galizia", "gmail", "com").

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

14 years agoRemove hacks not required since HAVE_AV_CONFIG_H was unset for the apps
Måns Rullgård [Sun, 7 Mar 2010 22:18:37 +0000 (22:18 +0000)]
Remove hacks not required since HAVE_AV_CONFIG_H was unset for the apps

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

14 years agoDefine HAVE_AV_CONFIG_H only when building libraries
Måns Rullgård [Sun, 7 Mar 2010 22:18:33 +0000 (22:18 +0000)]
Define HAVE_AV_CONFIG_H only when building libraries

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

14 years agoffserver: do not use intreadwrite.h
Måns Rullgård [Sun, 7 Mar 2010 22:18:30 +0000 (22:18 +0000)]
ffserver: do not use intreadwrite.h

intreadwrite.h is not part of the public API and should thus
not be used by the ff* applications.

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

14 years agoffplay: use public fft interface
Måns Rullgård [Sun, 7 Mar 2010 21:56:48 +0000 (21:56 +0000)]
ffplay: use public fft interface

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

14 years agoCreate a public API for FFT family of functions
Måns Rullgård [Sun, 7 Mar 2010 21:56:45 +0000 (21:56 +0000)]
Create a public API for FFT family of functions

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

14 years agoGive RDFT types more meaningful names
Måns Rullgård [Sun, 7 Mar 2010 21:47:44 +0000 (21:47 +0000)]
Give RDFT types more meaningful names

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

14 years agoUpdate include directives in fft-test.c
Måns Rullgård [Sun, 7 Mar 2010 21:47:41 +0000 (21:47 +0000)]
Update include directives in fft-test.c

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

14 years agoIncrease FF_INPUT_BUFFER_PADDING_SIZE to 64.
Alex Converse [Sun, 7 Mar 2010 21:16:44 +0000 (21:16 +0000)]
Increase FF_INPUT_BUFFER_PADDING_SIZE to 64.

The purpose of this is to give decoders a reasonable amount of buffer to work
with before needing to check for overreads.

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

14 years agoAAC: Add a new line after the TNS error message.
Alex Converse [Sun, 7 Mar 2010 21:07:22 +0000 (21:07 +0000)]
AAC: Add a new line after the TNS error message.

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

14 years agoregtest: run seektest on image sequences
Måns Rullgård [Sun, 7 Mar 2010 19:50:56 +0000 (19:50 +0000)]
regtest: run seektest on image sequences

Seeking on image sequences doesn't actually work, so this
test isn't very useful until that capability is added.

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

14 years agoinet_aton needs _DARWIN_C_SOURCE on OS X
David Conrad [Sun, 7 Mar 2010 19:49:02 +0000 (19:49 +0000)]
inet_aton needs _DARWIN_C_SOURCE on OS X

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

14 years agoLocalize the #define _SVID_SOURCE needed for inet_aton() to os_support.c
David Conrad [Sun, 7 Mar 2010 19:48:59 +0000 (19:48 +0000)]
Localize the #define _SVID_SOURCE needed for inet_aton() to os_support.c

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

14 years agoregtest: run seektest on lavftest output files
Måns Rullgård [Sun, 7 Mar 2010 19:26:02 +0000 (19:26 +0000)]
regtest: run seektest on lavftest output files

Somehow this got lost in the recent overhaul.

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