platform/upstream/libav.git
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

14 years agoregtest: place image sequence outputs in separate directories
Måns Rullgård [Sun, 7 Mar 2010 19:25:58 +0000 (19:25 +0000)]
regtest: place image sequence outputs in separate directories

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

14 years agoAdd support for non-backwards compatible signaled parametric stereo.
Alex Converse [Sun, 7 Mar 2010 17:55:23 +0000 (17:55 +0000)]
Add support for non-backwards compatible signaled parametric stereo.

This is done without breaking W6132 Annex YYYY draft MP3onMP4 which also uses AOT 29.
Samples:
http://samples.mplayerhq.hu/A-codecs/AAC/aacPlusDecoderCheckPackage_v2.1/bitstreams/File7.3gp
http://samples.mplayerhq.hu/MPEG-4/mp3on4/id5_1.mp4

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

14 years ago10l: fix make install with only shared libs
Måns Rullgård [Sun, 7 Mar 2010 15:46:22 +0000 (15:46 +0000)]
10l: fix make install with only shared libs

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

14 years agoBand quant tables should not be assigned inside band tile loop,
Maxim Poliakovski [Sun, 7 Mar 2010 12:12:42 +0000 (12:12 +0000)]
Band quant tables should not be assigned inside band tile loop,
one time is enough.
Patch by Maxim (max_pole, gmx de)

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

14 years agoFix --enable-hardcoded-tables compilation: the generate table files now
Reimar Döffinger [Sun, 7 Mar 2010 09:25:57 +0000 (09:25 +0000)]
Fix --enable-hardcoded-tables compilation: the generate table files now
need to include fft.h, not dsputil.h.

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

14 years ago1l trocadero: forgot reference operator on bytestream_get_be32() argument
Kostya Shishkov [Sun, 7 Mar 2010 08:52:53 +0000 (08:52 +0000)]
1l trocadero: forgot reference operator on bytestream_get_be32() argument

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

14 years agoUse -Werror=implicit only with gcc
Måns Rullgård [Sun, 7 Mar 2010 06:53:12 +0000 (06:53 +0000)]
Use -Werror=implicit only with gcc

Some other compilers turn too many warnings into errors with this flag.

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

14 years agoWhen tracking non-zero coefficients during Indeo 5 decoding, make sure
Maxim Poliakovski [Sun, 7 Mar 2010 06:03:45 +0000 (06:03 +0000)]
When tracking non-zero coefficients during Indeo 5 decoding, make sure
it does not ignore coefficient value = 256.
Patch by Maxim ((!min)_pole \at gmx dot/ de)

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

14 years agoFix clang sysroot flag
David Conrad [Sun, 7 Mar 2010 03:01:36 +0000 (03:01 +0000)]
Fix clang sysroot flag

Older versions accepted both with and without an '=', but newer versions
require the '=' to be omitted

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

14 years agoAdd internal.h include for av_read_frame_flush prototype
David Conrad [Sun, 7 Mar 2010 02:35:45 +0000 (02:35 +0000)]
Add internal.h include for av_read_frame_flush prototype

Fixes build with clang

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

14 years agoFix warning about incompatible pointer types
David Conrad [Sun, 7 Mar 2010 02:26:34 +0000 (02:26 +0000)]
Fix warning about incompatible pointer types

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

14 years agomatroskadec: Fix a buffer overread
David Conrad [Sun, 7 Mar 2010 02:26:30 +0000 (02:26 +0000)]
matroskadec: Fix a buffer overread

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

14 years agoheader for common code between mp3 decoder and encoder.
Michael Niedermayer [Sat, 6 Mar 2010 23:36:30 +0000 (23:36 +0000)]
header for common code between mp3 decoder and encoder.
unfinished, iam just commiting this so the functions that should be
non static have prototypes.

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

14 years agoError on implicit function declarations
Måns Rullgård [Sat, 6 Mar 2010 23:19:07 +0000 (23:19 +0000)]
Error on implicit function declarations

Turning on -Werror=implicit makes implicit function declarations
an error with supported compilers.

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

14 years agoMove av_read_frame_flush() prototype to lavf/internal.h
Måns Rullgård [Sat, 6 Mar 2010 23:19:05 +0000 (23:19 +0000)]
Move av_read_frame_flush() prototype to lavf/internal.h

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

14 years agoPPC: move prototypes to headers and make some functions static
Måns Rullgård [Sat, 6 Mar 2010 22:37:14 +0000 (22:37 +0000)]
PPC: move prototypes to headers and make some functions static

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

14 years agox86: move function prototypes to header files
Måns Rullgård [Sat, 6 Mar 2010 22:37:08 +0000 (22:37 +0000)]
x86: move function prototypes to header files

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

14 years agoMove ff_spatial_dwt() prototype to snow.h
Måns Rullgård [Sat, 6 Mar 2010 22:37:03 +0000 (22:37 +0000)]
Move ff_spatial_dwt() prototype to snow.h

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

14 years agoMove some dsp func prototypes to dsputil.h; they are defined in dsputil.c
Måns Rullgård [Sat, 6 Mar 2010 22:36:59 +0000 (22:36 +0000)]
Move some dsp func prototypes to dsputil.h; they are defined in dsputil.c

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

14 years agoMove some VC1 dsp prototypes to dsputil.h; they are defined in dsputil.c
Måns Rullgård [Sat, 6 Mar 2010 22:36:55 +0000 (22:36 +0000)]
Move some VC1 dsp prototypes to dsputil.h; they are defined in dsputil.c

Also fix function definitions to match prototypes (missing const).

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

14 years agoMove ff_set_qscale() prototype to mpegvideo.h; it is defined in mpegvideo.c
Måns Rullgård [Sat, 6 Mar 2010 22:36:52 +0000 (22:36 +0000)]
Move ff_set_qscale() prototype to mpegvideo.h; it is defined in mpegvideo.c

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

14 years agoMove prototypes for various dsputil init functions to dsputil.h
Måns Rullgård [Sat, 6 Mar 2010 22:36:49 +0000 (22:36 +0000)]
Move prototypes for various dsputil init functions to dsputil.h

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

14 years agoMove some prototypes from dsputil.c to reasonable header files
Måns Rullgård [Sat, 6 Mar 2010 22:36:45 +0000 (22:36 +0000)]
Move some prototypes from dsputil.c to reasonable header files

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

14 years agoMake some functions static
Måns Rullgård [Sat, 6 Mar 2010 22:36:41 +0000 (22:36 +0000)]
Make some functions static

These functions are not used outside their respective files, and they
lack a prototype in a header.

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

14 years agoAdd some missing #includes
Måns Rullgård [Sat, 6 Mar 2010 22:36:36 +0000 (22:36 +0000)]
Add some missing #includes

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

14 years agoSet GXF fallback time-base to match the one specified for audio-only.
Reimar Döffinger [Sat, 6 Mar 2010 22:25:53 +0000 (22:25 +0000)]
Set GXF fallback time-base to match the one specified for audio-only.

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

14 years agoGXF time base is always based on "fields" per second even for
Reimar Döffinger [Sat, 6 Mar 2010 22:20:33 +0000 (22:20 +0000)]
GXF time base is always based on "fields" per second even for
non-interlaced video.
Should fix issue 1766.

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

14 years agoShow aspect ratio information in dprintf_picref() traces.
Stefano Sabatini [Sat, 6 Mar 2010 21:28:08 +0000 (21:28 +0000)]
Show aspect ratio information in dprintf_picref() traces.

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

14 years agoBump minor number and add APIchanges entry after the inclusion of
Stefano Sabatini [Sat, 6 Mar 2010 20:07:52 +0000 (20:07 +0000)]
Bump minor number and add APIchanges entry after the inclusion of
av_stristr().

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

14 years agoffserver: use av_stristr()
Måns Rullgård [Sat, 6 Mar 2010 19:41:24 +0000 (19:41 +0000)]
ffserver: use av_stristr()

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

14 years agoAdd av_stristr() function
Måns Rullgård [Sat, 6 Mar 2010 19:41:22 +0000 (19:41 +0000)]
Add av_stristr() function

This is a case-insensitive version of strstr().

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

14 years agoFix build with compilers using a separate dependency command
Måns Rullgård [Sat, 6 Mar 2010 19:29:29 +0000 (19:29 +0000)]
Fix build with compilers using a separate dependency command

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

14 years agoReindent after the last commit.
Stefano Sabatini [Sat, 6 Mar 2010 19:19:13 +0000 (19:19 +0000)]
Reindent after the last commit.

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

14 years agoUse av_get_pict_type_char() in debug code within output_picture2(),
Stefano Sabatini [Sat, 6 Mar 2010 19:19:11 +0000 (19:19 +0000)]
Use av_get_pict_type_char() in debug code within output_picture2(),
simplify.

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

14 years agoFix install with shared libs on weird systems
Måns Rullgård [Sat, 6 Mar 2010 17:45:38 +0000 (17:45 +0000)]
Fix install with shared libs on weird systems

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