ffmpeg.git
10 years agoReduce codec time base when stream copying
Baptiste Coudurier [Sat, 3 Jul 2010 10:12:22 +0000 (10:12 +0000)]
Reduce codec time base when stream copying

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

10 years agoFix 'assignment from incompatible pointer type' warning.
Eli Friedman [Sat, 3 Jul 2010 09:58:13 +0000 (09:58 +0000)]
Fix 'assignment from incompatible pointer type' warning.

Patch by Eli Friedman, eli d friedman a gmail

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

10 years agoGive context to av_log
Baptiste Coudurier [Sat, 3 Jul 2010 04:40:12 +0000 (04:40 +0000)]
Give context to av_log

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

10 years agoMove AVStream->codec_info_nb_frames increment after try_decode_frame
Baptiste Coudurier [Sat, 3 Jul 2010 03:15:37 +0000 (03:15 +0000)]
Move AVStream->codec_info_nb_frames increment after try_decode_frame

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

10 years agoUse default graph swscale opts when no opts are supplied
Baptiste Coudurier [Sat, 3 Jul 2010 03:12:29 +0000 (03:12 +0000)]
Use default graph swscale opts when no opts are supplied

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

10 years agoSet graph swscale opts before parsing it, that way opts are available
Baptiste Coudurier [Sat, 3 Jul 2010 03:11:04 +0000 (03:11 +0000)]
Set graph swscale opts before parsing it, that way opts are available
when auto-adding scalers.

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

10 years agoIn av_find_stream_info, decode at least 4 h.264 frames to be able to guess delay.
Baptiste Coudurier [Sat, 3 Jul 2010 03:07:33 +0000 (03:07 +0000)]
In av_find_stream_info, decode at least 4 h.264 frames to be able to guess delay.

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

10 years agoSSSE3 versions of vp8 width4 bilinear MC functions
Jason Garrett-Glaser [Sat, 3 Jul 2010 00:48:12 +0000 (00:48 +0000)]
SSSE3 versions of vp8 width4 bilinear MC functions

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

10 years agoDisable dshow specific bug emulation for amv files as they arent
Michael Niedermayer [Fri, 2 Jul 2010 23:39:02 +0000 (23:39 +0000)]
Disable dshow specific bug emulation for amv files as they arent
demuxed by ms dshows buggy demuxer normally.

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

10 years agoRename block_align variable in the avi demuxer to clearly seperate its purpose
Michael Niedermayer [Fri, 2 Jul 2010 23:33:10 +0000 (23:33 +0000)]
Rename block_align variable in the avi demuxer to clearly seperate its purpose
from the true block_align.

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

10 years agoVP8: Move calculation of outer filter limit out of dsp functions for normal
David Conrad [Fri, 2 Jul 2010 21:04:45 +0000 (21:04 +0000)]
VP8: Move calculation of outer filter limit out of dsp functions for normal
filter to match the simple loop filter

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

10 years agoUse __clang_version__ when available
David Conrad [Fri, 2 Jul 2010 21:04:39 +0000 (21:04 +0000)]
Use __clang_version__ when available

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

10 years agofix comment grammar
Aurelien Jacobs [Fri, 2 Jul 2010 19:26:27 +0000 (19:26 +0000)]
fix comment grammar

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

10 years agoBump libavformat minor (as a result of r24003).
Jai Menon [Fri, 2 Jul 2010 17:39:03 +0000 (17:39 +0000)]
Bump libavformat minor (as a result of r24003).

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

10 years agoMake mix function more readable.
Reimar Döffinger [Fri, 2 Jul 2010 17:33:45 +0000 (17:33 +0000)]
Make mix function more readable.
Compiler output unchanged with gcc 4.4.

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

10 years agoFix use of unintialized variable introduced in r20411.
Reimar Döffinger [Fri, 2 Jul 2010 17:05:36 +0000 (17:05 +0000)]
Fix use of unintialized variable introduced in r20411.

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

10 years agomatroskadec: merge only SSA packets together
David Conrad [Fri, 2 Jul 2010 16:41:38 +0000 (16:41 +0000)]
matroskadec: merge only SSA packets together
fixes issue 2052
patch by David Conrad

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

10 years agoadd AV_DISPOSITION_FORCED flag and use it in matroska demuxer
Aurelien Jacobs [Fri, 2 Jul 2010 16:38:44 +0000 (16:38 +0000)]
add AV_DISPOSITION_FORCED flag and use it in matroska demuxer

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

10 years agosaner default value for convergence_duration
Aurelien Jacobs [Fri, 2 Jul 2010 15:57:56 +0000 (15:57 +0000)]
saner default value for convergence_duration

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

10 years agoclarify convergence_duration documentation
Aurelien Jacobs [Fri, 2 Jul 2010 15:56:38 +0000 (15:56 +0000)]
clarify convergence_duration documentation

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

10 years agowmavoice depends on mdct
Aurelien Jacobs [Fri, 2 Jul 2010 15:49:25 +0000 (15:49 +0000)]
wmavoice depends on mdct

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

10 years agoDuplicate rounding that MS does in one of their implementations of an avi demuxer.
Michael Niedermayer [Fri, 2 Jul 2010 15:09:27 +0000 (15:09 +0000)]
Duplicate rounding that MS does in one of their implementations of an avi demuxer.
Fixes issue740
Based on patch by Cory Fields theuni-nospam- >xbmc @org

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

10 years agoFix memory leak introduced in r23933
Måns Rullgård [Fri, 2 Jul 2010 15:00:21 +0000 (15:00 +0000)]
Fix memory leak introduced in r23933

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

10 years agoavutil: bump minor version for r23985 (install lfg.h)
Ramiro Polla [Fri, 2 Jul 2010 14:23:17 +0000 (14:23 +0000)]
avutil: bump minor version for r23985 (install lfg.h)

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

10 years agoRemove stray Doxygen grouping command; fixes one Doxygen warning.
Diego Biurrun [Fri, 2 Jul 2010 13:00:18 +0000 (13:00 +0000)]
Remove stray Doxygen grouping command; fixes one Doxygen warning.

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

10 years agoDisambiguate bitstream groups for AAC and RV30/RV40.
Diego Biurrun [Fri, 2 Jul 2010 12:55:36 +0000 (12:55 +0000)]
Disambiguate bitstream groups for AAC and RV30/RV40.

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

10 years agoReplace '\0 bytes' by 'NULL bytes' in Doxygen comments.
Diego Biurrun [Fri, 2 Jul 2010 12:53:37 +0000 (12:53 +0000)]
Replace '\0 bytes' by 'NULL bytes' in Doxygen comments.
Doxygen mistakes the \ for the start of a Doxygen command.

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

10 years agoMove DECODE_BYTES_PAD* macros before Doxygen comments.
Diego Biurrun [Fri, 2 Jul 2010 12:52:14 +0000 (12:52 +0000)]
Move DECODE_BYTES_PAD* macros before Doxygen comments.
Doxygen thinks the comments belong to the macros otherwise.

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

10 years agoFix doxy of flags parameter in fps_umf2avr().
Diego Biurrun [Fri, 2 Jul 2010 12:50:19 +0000 (12:50 +0000)]
Fix doxy of flags parameter in fps_umf2avr().

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

10 years agoRemove angular brackets from Doxygen comments; Doxygen confuses them for HTML.
Diego Biurrun [Fri, 2 Jul 2010 12:48:32 +0000 (12:48 +0000)]
Remove angular brackets from Doxygen comments; Doxygen confuses them for HTML.

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

10 years ago@begingroup --> @defgroup, only the latter is correct Doxygen syntax.
Diego Biurrun [Fri, 2 Jul 2010 12:45:49 +0000 (12:45 +0000)]
@begingroup --> @defgroup, only the latter is correct Doxygen syntax.

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

10 years agoFix doxy of gb parameter in decode_gain_info().
Diego Biurrun [Fri, 2 Jul 2010 12:42:32 +0000 (12:42 +0000)]
Fix doxy of gb parameter in decode_gain_info().

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

10 years agoMove #ifdef before zlib_decomp() up so it covers the Doxygen comments.
Diego Biurrun [Fri, 2 Jul 2010 12:41:07 +0000 (12:41 +0000)]
Move #ifdef before zlib_decomp() up so it covers the Doxygen comments.
Otherwise Doxygen gets confused and cannot map comments to functions.

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

10 years agoFix doxy of fixed_mean_energy parameter in ff_amr_set_fixed_gain().
Diego Biurrun [Fri, 2 Jul 2010 12:35:51 +0000 (12:35 +0000)]
Fix doxy of fixed_mean_energy parameter in ff_amr_set_fixed_gain().

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

10 years agoFix the signature of ff_set_min_dist_lsf() to match the implementation
Diego Biurrun [Fri, 2 Jul 2010 12:26:22 +0000 (12:26 +0000)]
Fix the signature of ff_set_min_dist_lsf() to match the implementation
and add doxy for the size parameter.

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

10 years agoavutil: install lfg.h
Ramiro Polla [Fri, 2 Jul 2010 12:12:06 +0000 (12:12 +0000)]
avutil: install lfg.h

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

10 years agoFix Doxygen documentation of gb parameter in ff_wma_get_large_val().
Diego Biurrun [Fri, 2 Jul 2010 11:55:42 +0000 (11:55 +0000)]
Fix Doxygen documentation of gb parameter in ff_wma_get_large_val().

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

10 years agoFix typo in Doxygen function parameter name.
Diego Biurrun [Fri, 2 Jul 2010 11:54:34 +0000 (11:54 +0000)]
Fix typo in Doxygen function parameter name.

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

10 years agoAvoid one more instance of angular brackets in Doxygen comments.
Diego Biurrun [Fri, 2 Jul 2010 11:53:00 +0000 (11:53 +0000)]
Avoid one more instance of angular brackets in Doxygen comments.

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

10 years agoFix parameter name and position in av_crc_init Doxygen documentation.
Diego Biurrun [Fri, 2 Jul 2010 11:49:17 +0000 (11:49 +0000)]
Fix parameter name and position in av_crc_init Doxygen documentation.

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

10 years agoReplace incorrect @NOTE Doxygen command by @note; capitalization matters.
Diego Biurrun [Fri, 2 Jul 2010 11:46:29 +0000 (11:46 +0000)]
Replace incorrect @NOTE Doxygen command by @note; capitalization matters.

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

10 years agoAvoid square brackets in Doxygen comments; Doxygen chokes on them.
Diego Biurrun [Fri, 2 Jul 2010 11:44:58 +0000 (11:44 +0000)]
Avoid square brackets in Doxygen comments; Doxygen chokes on them.

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

10 years agoFix Doxygen function parameter documentation syntax.
Diego Biurrun [Fri, 2 Jul 2010 11:41:13 +0000 (11:41 +0000)]
Fix Doxygen function parameter documentation syntax.

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

10 years agoRemove two more non-existing stray Doxygen function arguments.
Diego Biurrun [Fri, 2 Jul 2010 11:37:53 +0000 (11:37 +0000)]
Remove two more non-existing stray Doxygen function arguments.

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

10 years agoRemove non-existing stray arguments from Doxygen function documentation.
Diego Biurrun [Fri, 2 Jul 2010 11:19:29 +0000 (11:19 +0000)]
Remove non-existing stray arguments from Doxygen function documentation.

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

10 years agoCheck for doxy filetag with filename
Michael Niedermayer [Fri, 2 Jul 2010 11:13:23 +0000 (11:13 +0000)]
Check for doxy filetag with filename

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

10 years agoFix two more instances of wrong @ usage in Doxygen comments.
Diego Biurrun [Fri, 2 Jul 2010 11:09:12 +0000 (11:09 +0000)]
Fix two more instances of wrong @ usage in Doxygen comments.

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

10 years agoFix printing of '@' symbols in Doxygen comments; the correct syntax is '@@'.
Diego Biurrun [Fri, 2 Jul 2010 11:05:47 +0000 (11:05 +0000)]
Fix printing of '@' symbols in Doxygen comments; the correct syntax is '@@'.

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

10 years agoAdd parameter names to av_log/av_vlog function declarations.
Diego Biurrun [Fri, 2 Jul 2010 11:03:23 +0000 (11:03 +0000)]
Add parameter names to av_log/av_vlog function declarations.
Doxygen gets confused without an explicit parameter name.

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

10 years agoRemove redundant and harmful explicit filename after @file Doxygen command.
Diego Biurrun [Fri, 2 Jul 2010 10:59:35 +0000 (10:59 +0000)]
Remove redundant and harmful explicit filename after @file Doxygen command.

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

10 years agoFix misspelled parameter names in Doxygen documentation.
Diego Biurrun [Fri, 2 Jul 2010 10:49:29 +0000 (10:49 +0000)]
Fix misspelled parameter names in Doxygen documentation.
This fixes one Doxygen warning each.

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

10 years agoRemove misplaced Doxygen comment.
Diego Biurrun [Fri, 2 Jul 2010 10:37:13 +0000 (10:37 +0000)]
Remove misplaced Doxygen comment.

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

10 years agoUpdate Doxyfile to the format preferred by Doxygen 1.5.6 (via 'doxygen -u').
Diego Biurrun [Fri, 2 Jul 2010 10:05:49 +0000 (10:05 +0000)]
Update Doxyfile to the format preferred by Doxygen 1.5.6 (via 'doxygen -u').

This is the version available in Debian stable, so it should be a reasonable
baseline that can be expected to be available on all developer machines.

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

10 years agoIn mxf muxer, fix last b frame temporal offset
Baptiste Coudurier [Fri, 2 Jul 2010 08:35:47 +0000 (08:35 +0000)]
In mxf muxer, fix last b frame temporal offset

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

10 years agoIn mov demuxer, fix seeking to the beginning when file has edit lists.
John Stebbins [Fri, 2 Jul 2010 08:24:37 +0000 (08:24 +0000)]
In mov demuxer, fix seeking to the beginning when file has edit lists.
Patch by John Stebbins, stebbins at jetheaddev dot com
Fixes issue #2046

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

10 years agoSSSE3 versions of width4 VP8 6-tap MC functions
Jason Garrett-Glaser [Fri, 2 Jul 2010 05:27:41 +0000 (05:27 +0000)]
SSSE3 versions of width4 VP8 6-tap MC functions
Also make some small changes to saturation order of 4-tap SSSE3 MC to fix a
non-bitexactness bug.

Patch mostly by Eli Friedman <eli.friedman AT gmail DOT com>.

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

10 years agoconfigure: improve GNU as checking
Måns Rullgård [Fri, 2 Jul 2010 02:03:20 +0000 (02:03 +0000)]
configure: improve GNU as checking

Check for GNU assembler only when asm is enabled.  Show a warning for
ppc/altivec only, and fail on ARM.

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

10 years agotablegen: the executable depends on tablegen headers as well
Diego Pettenò [Fri, 2 Jul 2010 00:30:27 +0000 (00:30 +0000)]
tablegen: the executable depends on tablegen headers as well

Make sure that the *_tablegen.h header is listed in the dependencies, but
filter it out in the compile line.

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

10 years agoPPC: fix build on OSX without gas-preprocessor
Måns Rullgård [Fri, 2 Jul 2010 00:20:26 +0000 (00:20 +0000)]
PPC: fix build on OSX without gas-preprocessor

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

10 years agoGrammar fixes
Måns Rullgård [Fri, 2 Jul 2010 00:03:48 +0000 (00:03 +0000)]
Grammar fixes

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

10 years agovorbisdec: remove variable-length arrays
Måns Rullgård [Thu, 1 Jul 2010 23:36:48 +0000 (23:36 +0000)]
vorbisdec: remove variable-length arrays

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

10 years agoPPC: Altivec IMDCT
Loren Merritt [Thu, 1 Jul 2010 23:21:49 +0000 (23:21 +0000)]
PPC: Altivec IMDCT

Patch by Loren Merritt

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

10 years agoIndent
Måns Rullgård [Thu, 1 Jul 2010 23:21:46 +0000 (23:21 +0000)]
Indent

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

10 years agoRemove vestiges of radix-2 FFT
Måns Rullgård [Thu, 1 Jul 2010 23:21:42 +0000 (23:21 +0000)]
Remove vestiges of radix-2 FFT

Patch (mostly) by Loren Merritt

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

10 years agoPPC: Altivec split-radix FFT
Måns Rullgård [Thu, 1 Jul 2010 23:21:39 +0000 (23:21 +0000)]
PPC: Altivec split-radix FFT

1.8x faster than altivec radix-2 on a G4
8% faster vorbis decoding

Patch (mostly) by Loren Merritt

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

10 years agoPPC: fix dcbzl detection on OSX
Måns Rullgård [Thu, 1 Jul 2010 23:21:36 +0000 (23:21 +0000)]
PPC: fix dcbzl detection on OSX

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

10 years agoAdd -force_cpusubtype_ALL to ASFLAGS on Darwin/PPC
Måns Rullgård [Thu, 1 Jul 2010 23:21:33 +0000 (23:21 +0000)]
Add -force_cpusubtype_ALL to ASFLAGS on Darwin/PPC

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

10 years agoCheck for GNU assembler, use gas-preprocessor on darwin
Måns Rullgård [Thu, 1 Jul 2010 23:21:30 +0000 (23:21 +0000)]
Check for GNU assembler, use gas-preprocessor on darwin

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

10 years agoCheck whether IBM or Apple PPC assembler syntax is used
Måns Rullgård [Thu, 1 Jul 2010 23:21:27 +0000 (23:21 +0000)]
Check whether IBM or Apple PPC assembler syntax is used

This checks which assembler syntax is supported and defines macros
for register names accordingly.

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

10 years agompegtsenc: allocate correct size for PID table
Måns Rullgård [Thu, 1 Jul 2010 23:21:23 +0000 (23:21 +0000)]
mpegtsenc: allocate correct size for PID table

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

10 years agompegaudio: move compute_antialias_float() to mpegaudiodec_float.c
Måns Rullgård [Thu, 1 Jul 2010 23:21:20 +0000 (23:21 +0000)]
mpegaudio: move compute_antialias_float() to mpegaudiodec_float.c

Also put compute_antialias_integer() under !CONFIG_FLOAT and change
forward declarations to declare only the relevant one of these.

Fixes warnings about unused functions and pointer type mismatches.

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

10 years agompegaudio: call ff_mpegaudiodec_init_mmx() only from float decoder
Måns Rullgård [Thu, 1 Jul 2010 23:21:17 +0000 (23:21 +0000)]
mpegaudio: call ff_mpegaudiodec_init_mmx() only from float decoder

The mmx code is floating-point only, and this function does not know
from which decoder it is called.  Without this change, the integer
decoder only "works" because the size of the context struct is smaller
in this case, and the mmx init function writes the function pointer
outside the allocated context.

Fixes issue 2054.

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

10 years agoIn mov demuxer, only set sar if not already set, patch by Andrew Wason,
Andrew Wason [Thu, 1 Jul 2010 23:18:27 +0000 (23:18 +0000)]
In mov demuxer, only set sar if not already set, patch by Andrew Wason,
rectalogic at rectalogic dot com
Fixes issue #1754

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

10 years agoUse ext sample from mpeg4audio config if set with AAC SBR
Baptiste Coudurier [Thu, 1 Jul 2010 22:31:31 +0000 (22:31 +0000)]
Use ext sample from mpeg4audio config if set with AAC SBR

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

10 years agoFix 100L in vp8dsp asm init
Jason Garrett-Glaser [Thu, 1 Jul 2010 22:09:22 +0000 (22:09 +0000)]
Fix 100L in vp8dsp asm init

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

10 years agompegaudio float decoders depend on dct
Aurelien Jacobs [Thu, 1 Jul 2010 21:09:17 +0000 (21:09 +0000)]
mpegaudio float decoders depend on dct

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

10 years agoadu and mp3on4 functions are also needed by their respective float decoders
Aurelien Jacobs [Thu, 1 Jul 2010 21:08:20 +0000 (21:08 +0000)]
adu and mp3on4 functions are also needed by their respective float decoders

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

10 years agoAltivec-optimized mp{1,2,3} windowing
Vitor Sessak [Thu, 1 Jul 2010 21:04:12 +0000 (21:04 +0000)]
Altivec-optimized mp{1,2,3} windowing

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

10 years agoPad the buffer in url_close_dyn_buf, for buffers opened with url_open_dyn_buf
Josh Allmann [Thu, 1 Jul 2010 20:15:49 +0000 (20:15 +0000)]
Pad the buffer in url_close_dyn_buf, for buffers opened with url_open_dyn_buf

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agoAdd RTP depacketization of SVQ3
Josh Allmann [Thu, 1 Jul 2010 20:12:58 +0000 (20:12 +0000)]
Add RTP depacketization of SVQ3

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agoMove colorspace.h from libavcodec to libavutil.
Stefano Sabatini [Thu, 1 Jul 2010 18:49:44 +0000 (18:49 +0000)]
Move colorspace.h from libavcodec to libavutil.
Avoid a compile-time dependency of the pad filter on libavcodec.

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

10 years agoChange all functions referenced in the mxf_metadata_read_table to use the same
Reimar Döffinger [Thu, 1 Jul 2010 17:10:31 +0000 (17:10 +0000)]
Change all functions referenced in the mxf_metadata_read_table to use the same
prototype and also always call them with exactly those arguments.
The previous way seems to have worked on all supported platforms, however
it was not strictly valid C and would crash e.g. with a compiler that
uses stdcall by default.
Also avoids warnings if -Wstrict-prototypes is used.

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

10 years agocosmetic: improve comment breaking at 80 cols
Aurelien Jacobs [Thu, 1 Jul 2010 16:28:38 +0000 (16:28 +0000)]
cosmetic: improve comment breaking at 80 cols

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

10 years agofix dependencies of vp5 and vp6 decoders after r23915
Aurelien Jacobs [Thu, 1 Jul 2010 16:09:38 +0000 (16:09 +0000)]
fix dependencies of vp5 and vp6 decoders after r23915
they now also depends on cabac.o for ff_h264_norm_shift

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

10 years agofix warning in ff_metadata_mux_compat()
Eli Friedman [Thu, 1 Jul 2010 15:03:21 +0000 (15:03 +0000)]
fix warning in ff_metadata_mux_compat()
warning: the address of 'number' will always evaluate as 'true'
patch by Eli Friedman   eli _dot_ friedman _at_ gmail _dot_ com

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

10 years agoAllow remuxing of explicitly signalled AAC files into ADTS.
Alex Converse [Thu, 1 Jul 2010 14:49:32 +0000 (14:49 +0000)]
Allow remuxing of explicitly signalled AAC files into ADTS.

The ADTS output files are not explicitly signaled because the format
does not support explicit signalling.

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

10 years agoFactorize get_duration() out of 4 places of the avi demuxer.
Michael Niedermayer [Thu, 1 Jul 2010 13:50:15 +0000 (13:50 +0000)]
Factorize get_duration() out of 4 places of the avi demuxer.

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

10 years agoMaybe fix threaded mpeg*video encoding
Måns Rullgård [Thu, 1 Jul 2010 11:51:01 +0000 (11:51 +0000)]
Maybe fix threaded mpeg*video encoding

This allocates per-thread copies of some MpegEncContext.ac_val which
is used concurrently from the encoding threads.

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

10 years agorandom_seed: simplify
Måns Rullgård [Thu, 1 Jul 2010 11:43:30 +0000 (11:43 +0000)]
random_seed: simplify

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

10 years agoReindent
Måns Rullgård [Thu, 1 Jul 2010 11:40:54 +0000 (11:40 +0000)]
Reindent

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

10 years agorandom_seed: allow to block on /dev/random
Måns Rullgård [Thu, 1 Jul 2010 11:40:50 +0000 (11:40 +0000)]
random_seed: allow to block on /dev/random

If both /dev/random and /dev/urandom failed to return data, an
uninitialised value might be returned.  Since most systems have a
non-blocking /dev/urandom or have /dev/random with similar properties,
the chance of blocking is minimal, and the alternative of returning
non-random data is worse.

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

10 years agoconfigure: replace unwarranted gcc bashing with a real explanation
Måns Rullgård [Thu, 1 Jul 2010 11:11:23 +0000 (11:11 +0000)]
configure: replace unwarranted gcc bashing with a real explanation

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

10 years agoUse new librtmp APIs instead of grubbing around in RTMP struct
Howard Chu [Thu, 1 Jul 2010 10:59:44 +0000 (10:59 +0000)]
Use new librtmp APIs instead of grubbing around in RTMP struct

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

10 years agoFix h264/vp8 intra pred on Athlon XP
Jason Garrett-Glaser [Thu, 1 Jul 2010 10:29:47 +0000 (10:29 +0000)]
Fix h264/vp8 intra pred on Athlon XP
Whose idea was it to have a CPU that didn't SIGILL on an invalid instruction?

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

10 years agompegaudioenc: Remove write-only variables from the context.
Rafaël Carré [Thu, 1 Jul 2010 05:17:02 +0000 (05:17 +0000)]
mpegaudioenc: Remove write-only variables from the context.

Patch by Rafaël Carré (rafael <dot> carre <at> gmail).

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

10 years agoPrevent infinite recursion of odml indexes.
Michael Niedermayer [Thu, 1 Jul 2010 00:09:08 +0000 (00:09 +0000)]
Prevent infinite recursion of odml indexes.
This fixes a stack overflow.

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

10 years agoEliminate another redundant instruction in vp56/8 arithcoder
Jason Garrett-Glaser [Wed, 30 Jun 2010 23:59:27 +0000 (23:59 +0000)]
Eliminate another redundant instruction in vp56/8 arithcoder
Necessary because of this GCC bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44474
To do this, convert some, but not all (!) of the variables in VP56RangeCoder
into local variables.
If we convert c->high into a local variable, gcc gets the stupids and refuses
to use a conditional move for the unpredictable main branch.

TODO: dispense with this bullshit and write an asm version.

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

10 years agoSet pad description with NULL_IF_CONFIG_SMALL(), consistent with the
Stefano Sabatini [Wed, 30 Jun 2010 23:52:28 +0000 (23:52 +0000)]
Set pad description with NULL_IF_CONFIG_SMALL(), consistent with the
other filters.

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

10 years agoImprove description for the pad filter.
Stefano Sabatini [Wed, 30 Jun 2010 23:52:26 +0000 (23:52 +0000)]
Improve description for the pad filter.

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

10 years agoCMOV-ify vp56 arithcoder
Jason Garrett-Glaser [Wed, 30 Jun 2010 23:18:47 +0000 (23:18 +0000)]
CMOV-ify vp56 arithcoder
This incantation causes gcc 4.3 to generate cmov on x86, a vastly better option
than a completely unpredictable branch.
Hopefully this carries over to newer versions and other CPUs with conditionals.
~5 cycles saved per call on a Core i7.

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