]> git.sesse.net Git - ffmpeg/log
ffmpeg
15 years agoAdd LABEL_MANGLE() to export label symbols from inside asm blocks.
Ramiro Polla [Mon, 25 May 2009 01:50:37 +0000 (01:50 +0000)]
Add LABEL_MANGLE() to export label symbols from inside asm blocks.

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

15 years agoCorePNG can be decoded since 18421
Ben Littler [Mon, 25 May 2009 00:31:52 +0000 (00:31 +0000)]
CorePNG can be decoded since 18421

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

15 years agomove DEBUG define before include to get dprintf and change printf to dprintf
Baptiste Coudurier [Sun, 24 May 2009 22:59:25 +0000 (22:59 +0000)]
move DEBUG define before include to get dprintf and change printf to dprintf

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

15 years agoFix unaligned dsputil call.
Vitor Sessak [Sun, 24 May 2009 12:44:54 +0000 (12:44 +0000)]
Fix unaligned dsputil call.

Should fix FATE corepng test on Solaris/Sparc.

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

15 years agofix get_str16_nolen with odd len, fix #1065
Baptiste Coudurier [Sun, 24 May 2009 10:26:41 +0000 (10:26 +0000)]
fix get_str16_nolen with odd len, fix #1065

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

15 years agomove DEBUG define before include to get dprintf and move guidcmp before print_guid...
Baptiste Coudurier [Sun, 24 May 2009 09:59:53 +0000 (09:59 +0000)]
move DEBUG define before include to get dprintf and move guidcmp before print_guid, fix compilation with DEBUG

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

15 years agoeatqi: move "block" variable into context to ensure sufficient alignment for
Reimar Döffinger [Sun, 24 May 2009 09:14:19 +0000 (09:14 +0000)]
eatqi: move "block" variable into context to ensure sufficient alignment for
idct_put for compilers/architectures that can not align stack variables that much.
This is also consistent with similar code in eatgq.c

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

15 years agoDistinguish between non-coded blocks and decode errors in rtjpeg's get_block
Reimar Döffinger [Sun, 24 May 2009 09:06:06 +0000 (09:06 +0000)]
Distinguish between non-coded blocks and decode errors in rtjpeg's get_block

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

15 years agoAdd a few size checks when decoding rtjpeg blocks.
Reimar Döffinger [Sun, 24 May 2009 09:03:45 +0000 (09:03 +0000)]
Add a few size checks when decoding rtjpeg blocks.
Might avoid crashes in unlikely cases, but mostly avoids ugly artefacts
for partial frames.

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

15 years agoMove "block" variable in rtjpeg decoder to context to ensure sufficient alignment
Reimar Döffinger [Sun, 24 May 2009 08:36:52 +0000 (08:36 +0000)]
Move "block" variable in rtjpeg decoder to context to ensure sufficient alignment
for idct_put on architectures/compilers that have problems aligning on the stack.

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

15 years agoH264: Don't deblock if alpha or beta is 0.
Haruhiko Yamagata [Sun, 24 May 2009 03:39:20 +0000 (03:39 +0000)]
H264: Don't deblock if alpha or beta is 0.
This ensures that the MMX loop filter is always bitexact with the C version.
Patch by Haruhiko Yamagata <h.yamagata _a_ nifty com>

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

15 years agoRemove duplicated RGB_TO_[YUV]_CCIR macros, directly use those defined
Stefano Sabatini [Sat, 23 May 2009 23:32:29 +0000 (23:32 +0000)]
Remove duplicated RGB_TO_[YUV]_CCIR macros, directly use those defined
in libavcodec/colorspace.h.

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

15 years agoindent
Michael Niedermayer [Sat, 23 May 2009 23:02:33 +0000 (23:02 +0000)]
indent

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

15 years agoFix lowres with rv20.
Michael Niedermayer [Sat, 23 May 2009 22:59:35 +0000 (22:59 +0000)]
Fix lowres with rv20.
Fixes issue1102.

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

15 years agoFix passing of unaligned addresses to dsputil diff_bytes() by
Jeff Downs [Sat, 23 May 2009 19:37:01 +0000 (19:37 +0000)]
Fix passing of unaligned addresses to dsputil diff_bytes() by
changeing calls to sub_left_prediction such that
the source frame data pointers are no longer offset to skip the initial
elements. This keeps them properly aligned for the subsequent call to diff_bytes.
Changes encoding offset to compensate.

Mailing list thread:
https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-May/069952.html

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

15 years agoAdd offset argument to encode_422_bitstream() to control where
Jeff Downs [Sat, 23 May 2009 19:30:35 +0000 (19:30 +0000)]
Add offset argument to encode_422_bitstream() to control where
in the source data array to start encoding.
Change all calls to pass zero for this new argument for equivalent behavior.

This is a restructure to support a forthcoming bug fix.

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

15 years agoARM: actually add VP3 loop filter
David Conrad [Sat, 23 May 2009 18:47:26 +0000 (18:47 +0000)]
ARM: actually add VP3 loop filter

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

15 years agoARM: NEON VP3 Loop Filter
David Conrad [Sat, 23 May 2009 18:36:20 +0000 (18:36 +0000)]
ARM: NEON VP3 Loop Filter

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

15 years agoFix regression tests, diff was due to a patch to mpeg-2 parser timestamp fetching...
Baptiste Coudurier [Sat, 23 May 2009 09:28:45 +0000 (09:28 +0000)]
Fix regression tests, diff was due to a patch to mpeg-2 parser timestamp fetching, pending,
current ref is technically more correct though.

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

15 years agofix hdlr descr in mp4 which use c string, patch by Larbi Joubala, larbi dot joubala...
Larbi Joubala [Sat, 23 May 2009 07:17:17 +0000 (07:17 +0000)]
fix hdlr descr in mp4 which use c string, patch by Larbi Joubala, larbi dot joubala at resonate-mp4 dot com

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

15 years agosimplify pes timestamps fetching, based on a patch by corp186, chasedouglas at gmail...
Baptiste Coudurier [Sat, 23 May 2009 06:25:44 +0000 (06:25 +0000)]
simplify pes timestamps fetching, based on a patch by corp186, chasedouglas at gmail dot com

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

15 years agocompute total bitrate more accurately, patch by corp186, chasedouglas at gmail dot com
corp186 [Sat, 23 May 2009 06:09:16 +0000 (06:09 +0000)]
compute total bitrate more accurately, patch by corp186, chasedouglas at gmail dot com

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

15 years agofix qtrle encoding when previous frame linesize differs, fix #998
Baptiste Coudurier [Sat, 23 May 2009 05:55:29 +0000 (05:55 +0000)]
fix qtrle encoding when previous frame linesize differs, fix #998

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

15 years agopad last audio frame when encoding
Baptiste Coudurier [Sat, 23 May 2009 04:07:25 +0000 (04:07 +0000)]
pad last audio frame when encoding

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

15 years agoremove useless include
Baptiste Coudurier [Sat, 23 May 2009 03:05:56 +0000 (03:05 +0000)]
remove useless include

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

15 years agoSet progressive_sequence before MPV_common_init which cares about it when
Baptiste Coudurier [Sat, 23 May 2009 01:22:43 +0000 (01:22 +0000)]
Set progressive_sequence before MPV_common_init which cares about it when
setting mb_height for interlaced mpeg-2 encoding.

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

15 years agoRevert part of r18903:
Ramiro Polla [Sat, 23 May 2009 01:20:42 +0000 (01:20 +0000)]
Revert part of r18903:
MLP DSP functions x86-optimized.
12.59% overall speedup in x86_32
 9.98% overall speedup in x86_64
compared to gcc 4.3.3

It breaks on x86_64 with PIC because the MANGLE macro appends (%%rip), which
is not wanted for labels.

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

15 years agoMLP DSP functions x86-optimized.
Ramiro Polla [Sat, 23 May 2009 00:23:30 +0000 (00:23 +0000)]
MLP DSP functions x86-optimized.
12.59% overall speedup in x86_32
 9.98% overall speedup in x86_64
compared to gcc 4.3.3

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

15 years agofix mouse seeking when start time is not set, fix #1083
Baptiste Coudurier [Fri, 22 May 2009 23:08:07 +0000 (23:08 +0000)]
fix mouse seeking when start time is not set, fix #1083

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

15 years agoRemove duplicated RGB_TO_[YUV] macros, use those included in
Stefano Sabatini [Fri, 22 May 2009 22:51:46 +0000 (22:51 +0000)]
Remove duplicated RGB_TO_[YUV] macros, use those included in
libavcodec/colorspace.h.

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

15 years agoFix grammar for avfilter_graph_parse() doxy.
Stefano Sabatini [Fri, 22 May 2009 22:38:41 +0000 (22:38 +0000)]
Fix grammar for avfilter_graph_parse() doxy.

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

15 years agoFix libtheora encoding for non-mod16 sizes
David Conrad [Fri, 22 May 2009 22:01:50 +0000 (22:01 +0000)]
Fix libtheora encoding for non-mod16 sizes

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

15 years agoMove ALIGN macro to libavutil/common.h and use it in various places
David Conrad [Fri, 22 May 2009 21:32:13 +0000 (21:32 +0000)]
Move ALIGN macro to libavutil/common.h and use it in various places

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

15 years agofail if stream fifo could not be allocated
Baptiste Coudurier [Fri, 22 May 2009 19:11:56 +0000 (19:11 +0000)]
fail if stream fifo could not be allocated

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

15 years agoMove eatgq blocks array from the stack to the codec context and make sure
Reimar Döffinger [Fri, 22 May 2009 18:39:00 +0000 (18:39 +0000)]
Move eatgq blocks array from the stack to the codec context and make sure
it is aligned as necessary for DSPContext's idct_put.
Just aligning it on the stack would have been possible but less reliable
and without any real benefit.

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

15 years agoSet speex frame_size in ogg demuxer
David Conrad [Fri, 22 May 2009 18:34:01 +0000 (18:34 +0000)]
Set speex frame_size in ogg demuxer

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

15 years agocosmetics: Fix some typos.
Diego Biurrun [Fri, 22 May 2009 17:14:22 +0000 (17:14 +0000)]
cosmetics: Fix some typos.

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

15 years agoPrint out more verbose licensing information.
Diego Biurrun [Fri, 22 May 2009 10:10:02 +0000 (10:10 +0000)]
Print out more verbose licensing information.

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

15 years agocheck av_fifo_alloc return
Baptiste Coudurier [Thu, 21 May 2009 23:12:41 +0000 (23:12 +0000)]
check av_fifo_alloc return

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

15 years agocorrectly check for audio streams in mpeg ps muxer, fix multiple audio tracks
Baptiste Coudurier [Thu, 21 May 2009 22:33:17 +0000 (22:33 +0000)]
correctly check for audio streams in mpeg ps muxer, fix multiple audio tracks

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

15 years ago10l: typing mistake in r18888
Justin Ruggles [Thu, 21 May 2009 00:28:23 +0000 (00:28 +0000)]
10l: typing mistake in r18888

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

15 years agoeac3dec: fix bug in GAQ dequantization. large mantissas should only be
Justin Ruggles [Thu, 21 May 2009 00:15:44 +0000 (00:15 +0000)]
eac3dec: fix bug in GAQ dequantization. large mantissas should only be
decoded when the gain value is 2 or 4.

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

15 years agoeac3dec: make GAQ dequantization 24-bit
Justin Ruggles [Thu, 21 May 2009 00:15:03 +0000 (00:15 +0000)]
eac3dec: make GAQ dequantization 24-bit

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

15 years agoeac3dec: revert commit r18860. keep the AHT IDCT 24-bit. will make AHT GAQ
Justin Ruggles [Thu, 21 May 2009 00:09:23 +0000 (00:09 +0000)]
eac3dec: revert commit r18860.  keep the AHT IDCT 24-bit.  will make AHT GAQ
dequantization 24-bit in a separate commit.

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

15 years agomathops: sort arch-specific #include lines
Måns Rullgård [Wed, 20 May 2009 18:49:55 +0000 (18:49 +0000)]
mathops: sort arch-specific #include lines

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

15 years agomathops: whitespace cosmetics
Måns Rullgård [Wed, 20 May 2009 18:49:52 +0000 (18:49 +0000)]
mathops: whitespace cosmetics

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

15 years agoCreate shared libs correctly, fix mingw build
Måns Rullgård [Wed, 20 May 2009 18:37:34 +0000 (18:37 +0000)]
Create shared libs correctly, fix mingw build

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

15 years agoAdd QCP demuxer.
Kenan Gillet [Wed, 20 May 2009 17:19:39 +0000 (17:19 +0000)]
Add QCP demuxer.

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

15 years agoMention LGPL AC-3 decoder in the changelog.
Diego Biurrun [Wed, 20 May 2009 16:30:56 +0000 (16:30 +0000)]
Mention LGPL AC-3 decoder in the changelog.

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

15 years agoFix building from within subdirs
Måns Rullgård [Wed, 20 May 2009 10:24:59 +0000 (10:24 +0000)]
Fix building from within subdirs

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

15 years agoUse IF1 frame sizes in AMR-WB.
Martin Storsjö [Wed, 20 May 2009 08:57:32 +0000 (08:57 +0000)]
Use IF1 frame sizes in AMR-WB.
Patch by Martin Storsjö: martin (remove that) at martin (oh and this too) st

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

15 years agoUse iMDCT output scaling to simplify ffvorbis and make it slightly faster.
Siarhei Siamashka [Wed, 20 May 2009 07:26:09 +0000 (07:26 +0000)]
Use iMDCT output scaling to simplify ffvorbis and make it slightly faster.

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

15 years agoFix for a problem with inverted sign of output data from ffvorbis decoder.
Siarhei Siamashka [Wed, 20 May 2009 07:24:38 +0000 (07:24 +0000)]
Fix for a problem with inverted sign of output data from ffvorbis decoder.

Now the sign of audio samples in ffvorbis output is the same as in original
uncompressed audio file and this also allows the use of tiny_psnr to compare
ffvorbis with libvorbis/tremor.

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

15 years agoSupport for testing (i)MDCT output scale factor in fft-test tool.
Siarhei Siamashka [Wed, 20 May 2009 07:23:09 +0000 (07:23 +0000)]
Support for testing (i)MDCT output scale factor in fft-test tool.

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

15 years agoThe AC-3 decoder is now LGPL. Exchange the license header and change references
Diego Biurrun [Tue, 19 May 2009 22:58:09 +0000 (22:58 +0000)]
The AC-3 decoder is now LGPL. Exchange the license header and change references
in the build system and documentation that mark it as GPL.

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

15 years agoLGPL version of ac3_decode_transform_coeffs_ch, ~12.4% faster.
Jason Garrett-Glaser [Tue, 19 May 2009 21:29:21 +0000 (21:29 +0000)]
LGPL version of ac3_decode_transform_coeffs_ch, ~12.4% faster.

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

15 years agoDefine ARCH_MIPS64 when building for MIPS64
Måns Rullgård [Tue, 19 May 2009 19:40:24 +0000 (19:40 +0000)]
Define ARCH_MIPS64 when building for MIPS64

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

15 years agoDefine HAVE_BIGENDIAN as 0 or 1 according to CPU type
Måns Rullgård [Tue, 19 May 2009 19:40:22 +0000 (19:40 +0000)]
Define HAVE_BIGENDIAN as 0 or 1 according to CPU type

This should replace the inconsistently named and defined
WORDS_BIGENDIAN.

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

15 years agoconfigure: add some MIPS CPUs
Måns Rullgård [Tue, 19 May 2009 19:38:44 +0000 (19:38 +0000)]
configure: add some MIPS CPUs

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

15 years agoAdd missing libavformat dependencies on mpeg4audio.o
Alex Converse [Tue, 19 May 2009 18:02:06 +0000 (18:02 +0000)]
Add missing libavformat dependencies on mpeg4audio.o

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

15 years agoLet SwScaler know that RGB48 BE/LE is 16-bits per component format.
Kostya Shishkov [Tue, 19 May 2009 17:37:58 +0000 (17:37 +0000)]
Let SwScaler know that RGB48 BE/LE is 16-bits per component format.

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

15 years agoMove AMR-WB-specific code to the AMR-WB section of the file.
Diego Biurrun [Tue, 19 May 2009 17:31:56 +0000 (17:31 +0000)]
Move AMR-WB-specific code to the AMR-WB section of the file.
Fixes compilation when AMR-NB #includes are not available on the system.

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

15 years agocosmetics: Move AMR-WB-specific code to the AMR-WB part of the file.
Diego Biurrun [Tue, 19 May 2009 17:30:27 +0000 (17:30 +0000)]
cosmetics: Move AMR-WB-specific code to the AMR-WB part of the file.

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

15 years agoMake SwScaler recognize RGB48 BE/LE colourspaces (not support though).
Kostya Shishkov [Tue, 19 May 2009 17:26:22 +0000 (17:26 +0000)]
Make SwScaler recognize RGB48 BE/LE colourspaces (not support though).

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

15 years agoLog with level AV_LOG_ERROR if av_parse_color() cannot recognize a
Stefano Sabatini [Mon, 18 May 2009 17:59:03 +0000 (17:59 +0000)]
Log with level AV_LOG_ERROR if av_parse_color() cannot recognize a
color.

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

15 years agoRemove useless casts of vec_ld() parameters.
Diego Biurrun [Mon, 18 May 2009 08:21:50 +0000 (08:21 +0000)]
Remove useless casts of vec_ld() parameters.
Gets rid of 'cast discards qualifiers from pointer target type' warnings.

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

15 years agoIndent
Benjamin Larsson [Sun, 17 May 2009 16:13:03 +0000 (16:13 +0000)]
Indent

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

15 years agoChange from INIT_VLC_USE_STATIC to INIT_VLC_USE_NEW_STATIC in atrac3
Benjamin Larsson [Sun, 17 May 2009 16:12:07 +0000 (16:12 +0000)]
Change from INIT_VLC_USE_STATIC to INIT_VLC_USE_NEW_STATIC in atrac3

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

15 years agoIndent
Benjamin Larsson [Sun, 17 May 2009 10:31:16 +0000 (10:31 +0000)]
Indent

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

15 years agoSwitch from INIT_VLC_USE_STATIC to INIT_VLC_USE_NEW_STATIC in qdm2.
Benjamin Larsson [Sun, 17 May 2009 10:29:40 +0000 (10:29 +0000)]
Switch from INIT_VLC_USE_STATIC to INIT_VLC_USE_NEW_STATIC in qdm2.

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

15 years agoMake TMV decoder check packet sizes before reading from it.
Vitor Sessak [Sun, 17 May 2009 09:48:12 +0000 (09:48 +0000)]
Make TMV decoder check packet sizes before reading from it.

FATE test 295 might need updating.

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

15 years agoAdd a forward declaration of mpeg1_decode_block_intra to fix compilation
Reimar Döffinger [Sun, 17 May 2009 09:09:07 +0000 (09:09 +0000)]
Add a forward declaration of mpeg1_decode_block_intra to fix compilation
broken by r18859 for e.g. all gcc 4 compilers.

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

15 years agoeac3dec: use 16-bit pre-mantissas instead of 24-bit in AHT decoding. it is
Justin Ruggles [Sun, 17 May 2009 06:53:24 +0000 (06:53 +0000)]
eac3dec: use 16-bit pre-mantissas instead of 24-bit in AHT decoding. it is
simpler and also fixes a bug in GAQ dequantization.

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

15 years agompeg12: fix non-standard use of "extern inline"
Måns Rullgård [Sun, 17 May 2009 00:54:29 +0000 (00:54 +0000)]
mpeg12: fix non-standard use of "extern inline"

Rename ff_mpeg1_decode_block_intra to mpeg1_decode_block_intra and
make it static.  Add ff_mpeg1_decode_block_intra as plain extern
function calling mpeg1_decode_block_intra.

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

15 years agoFix the M bit for multi-packet NALs.
Yao Peter [Sat, 16 May 2009 17:11:47 +0000 (17:11 +0000)]
Fix the M bit for multi-packet NALs.
Patch by Yao Peter (peter AT yuvad DOT com)

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

15 years agoac3dec: fix coupling range check. the start subband must be less than
Justin Ruggles [Sat, 16 May 2009 17:02:44 +0000 (17:02 +0000)]
ac3dec: fix coupling range check.  the start subband must be less than
the end subband.

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

15 years agooma: fix build if memcmp() is a macro
Måns Rullgård [Sat, 16 May 2009 15:09:30 +0000 (15:09 +0000)]
oma: fix build if memcmp() is a macro

Any C library function may be a macro, so compound literals
passed to memcmp() must be surrounded by parens to avoid being
split on commas.

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

15 years agoSupport for getting (i)MDCT output multiplied by a constant scaling factor.
Siarhei Siamashka [Sat, 16 May 2009 14:17:08 +0000 (14:17 +0000)]
Support for getting (i)MDCT output multiplied by a constant scaling factor.

Scaling (i)MDCT output has no runtime overhead and can be used to improve
performance of audio codecs. All the changes are only needed in
'ff_mdct_init' function and slow down initialization a bit.

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

15 years agoMove img_convert_ctx to VideoState and free it in stream_close().
Martin Storsjö [Sat, 16 May 2009 10:29:55 +0000 (10:29 +0000)]
Move img_convert_ctx to VideoState and free it in stream_close().

Patch by Martin Storsjö, martin martin st

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

15 years agoAdd missing frees to stream_close() and do_exit().
Martin Storsjö [Sat, 16 May 2009 10:26:41 +0000 (10:26 +0000)]
Add missing frees to stream_close() and do_exit().

Patch by Martin Storsjö, martin martin st

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

15 years agoFix off-by-one error in MS RLE decoder which may result into writing past
Kostya Shishkov [Sat, 16 May 2009 06:39:08 +0000 (06:39 +0000)]
Fix off-by-one error in MS RLE decoder which may result into writing past
picture buffer.

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

15 years agomove increment after debug print
Baptiste Coudurier [Sat, 16 May 2009 04:08:34 +0000 (04:08 +0000)]
move increment after debug print

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

15 years agocosmetics: K&R coding style, indent correctly, break overly long lines
Diego Biurrun [Fri, 15 May 2009 22:46:29 +0000 (22:46 +0000)]
cosmetics: K&R coding style, indent correctly, break overly long lines

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

15 years agoReplace 'x == 0' if conditions with '!x'.
Diego Biurrun [Fri, 15 May 2009 22:41:26 +0000 (22:41 +0000)]
Replace 'x == 0' if conditions with '!x'.

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

15 years agocosmetics: Remove pointless {}.
Diego Biurrun [Fri, 15 May 2009 20:12:45 +0000 (20:12 +0000)]
cosmetics: Remove pointless {}.

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

15 years agoSurround AMR_WB encoding code by appropriate #ifdefs.
Diego Biurrun [Fri, 15 May 2009 19:03:45 +0000 (19:03 +0000)]
Surround AMR_WB encoding code by appropriate #ifdefs.
This will help support the opencore AMR library.

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

15 years agocosmetics: Move some more code around to avoid #ifdeffery.
Diego Biurrun [Fri, 15 May 2009 18:54:36 +0000 (18:54 +0000)]
cosmetics: Move some more code around to avoid #ifdeffery.

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

15 years agocosmetics: Move functions around so that encoding and decoding functions are
Diego Biurrun [Fri, 15 May 2009 17:34:26 +0000 (17:34 +0000)]
cosmetics: Move functions around so that encoding and decoding functions are
grouped together. This will save some #ifdefs.

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

15 years agoRemove redundant #if condition. Two CONFIG_LIBAMR_NB blocks were right after
Diego Biurrun [Fri, 15 May 2009 17:22:41 +0000 (17:22 +0000)]
Remove redundant #if condition. Two CONFIG_LIBAMR_NB blocks were right after
each other so that the second check was pointless.

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

15 years agoAdd av_cold attribute to amr_nb decoding/encoding initialization functions.
Diego Biurrun [Fri, 15 May 2009 17:15:12 +0000 (17:15 +0000)]
Add av_cold attribute to amr_nb decoding/encoding initialization functions.

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

15 years agoBugfix for bug introduced in the multichannel cook patchset.
Benjamin Larsson [Fri, 15 May 2009 16:25:54 +0000 (16:25 +0000)]
Bugfix for bug introduced in the multichannel cook patchset.

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

15 years agomlp: Simplify adressing of state and coeffs arrays for both filters by making
Ramiro Polla [Fri, 15 May 2009 15:34:22 +0000 (15:34 +0000)]
mlp: Simplify adressing of state and coeffs arrays for both filters by making
the arrays sequential.

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

15 years agomlp: include mlp.h and use MAX_CHANNELS instead of hardcoding value 8.
Ramiro Polla [Fri, 15 May 2009 15:30:43 +0000 (15:30 +0000)]
mlp: include mlp.h and use MAX_CHANNELS instead of hardcoding value 8.

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

15 years agoEnsure that we don't read from invalid memory with B-frame qpel
David Conrad [Fri, 15 May 2009 07:49:59 +0000 (07:49 +0000)]
Ensure that we don't read from invalid memory with B-frame qpel

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

15 years agowrite 'stps' for mpeg-2 open gop in .mov
Baptiste Coudurier [Fri, 15 May 2009 06:11:53 +0000 (06:11 +0000)]
write 'stps' for mpeg-2 open gop in .mov

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

15 years agodecode mpeg-2 closed gop first b frames, fix issue #824
Baptiste Coudurier [Fri, 15 May 2009 05:39:44 +0000 (05:39 +0000)]
decode mpeg-2 closed gop first b frames, fix issue #824

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

15 years agofree Track and unset priv_data to avoid double free, fix memleak
Baptiste Coudurier [Fri, 15 May 2009 05:33:05 +0000 (05:33 +0000)]
free Track and unset priv_data to avoid double free, fix memleak

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

15 years agoreindent
Baptiste Coudurier [Fri, 15 May 2009 04:44:37 +0000 (04:44 +0000)]
reindent

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

15 years agoremove unneeded length checks
Baptiste Coudurier [Fri, 15 May 2009 04:43:44 +0000 (04:43 +0000)]
remove unneeded length checks

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

15 years agochange pic type to Picture* and remove casts
Baptiste Coudurier [Fri, 15 May 2009 02:01:53 +0000 (02:01 +0000)]
change pic type to Picture* and remove casts

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