ffmpeg.git
12 years agoFactor duplicated loop
Vitor Sessak [Sun, 10 Feb 2008 18:04:52 +0000 (18:04 +0000)]
Factor duplicated loop

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

12 years agoDo not hardcode the list of pixel formats and use PIX_FMT_NB instead.
Vitor Sessak [Sun, 10 Feb 2008 18:04:49 +0000 (18:04 +0000)]
Do not hardcode the list of pixel formats and use PIX_FMT_NB instead.

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

12 years agoDo not hardcode the type of AVFilterFormats.formats in allocation
Vitor Sessak [Sun, 10 Feb 2008 18:04:43 +0000 (18:04 +0000)]
Do not hardcode the type of AVFilterFormats.formats in allocation

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

12 years agoOops, my last commit broke compilation...
Vitor Sessak [Sun, 10 Feb 2008 18:04:38 +0000 (18:04 +0000)]
Oops, my last commit broke compilation...

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

12 years agoMake regression tests to pass with libavfilter.
Vitor Sessak [Sun, 10 Feb 2008 18:04:36 +0000 (18:04 +0000)]
Make regression tests to pass with libavfilter.

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

12 years agoNeed to be careful when dealing with references.
Vitor Sessak [Sun, 10 Feb 2008 18:04:32 +0000 (18:04 +0000)]
Need to be careful when dealing with references.

Commited in SoC by Bobby Bingham

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

12 years ago10l. parameter was unused and redundant.
Vitor Sessak [Sun, 10 Feb 2008 18:04:27 +0000 (18:04 +0000)]
10l. parameter was unused and redundant.

Commited in SoC by Bobby Bingham

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

12 years agoavfilter_formats_unref() should remove the given reference, not the last
Vitor Sessak [Sun, 10 Feb 2008 18:03:18 +0000 (18:03 +0000)]
avfilter_formats_unref() should remove the given reference, not the last
reference.

Commited in SoC by Bobby Bingham

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

12 years agoFirst libavfilter commit.
Vitor Sessak [Sun, 10 Feb 2008 18:02:11 +0000 (18:02 +0000)]
First libavfilter commit.

Original log message:
Forgot to add in the big colorspace commit

Commited in SoC by Bobby Bingham

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

12 years agoasm argument that might be in memory needs a size
Loren Merritt [Sun, 10 Feb 2008 01:45:42 +0000 (01:45 +0000)]
asm argument that might be in memory needs a size

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

12 years agoMake dither4 & dither8 const.
Carl Eugen Hoyos [Sat, 9 Feb 2008 22:57:37 +0000 (22:57 +0000)]
Make dither4 & dither8 const.

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

12 years agoAllow compilation with icc 10.1.
Carl Eugen Hoyos [Sat, 9 Feb 2008 20:47:11 +0000 (20:47 +0000)]
Allow compilation with icc 10.1.

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

12 years agoRemove pointless #if.
Diego Biurrun [Sat, 9 Feb 2008 18:07:20 +0000 (18:07 +0000)]
Remove pointless #if.

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

12 years agoRemove pointless code.
Michael Niedermayer [Sat, 9 Feb 2008 18:02:28 +0000 (18:02 +0000)]
Remove pointless code.

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

12 years agoUse HAVE_ALTIVEC preprocessor conditionals like in the rest of FFmpeg.
Diego Biurrun [Sat, 9 Feb 2008 17:55:07 +0000 (17:55 +0000)]
Use HAVE_ALTIVEC preprocessor conditionals like in the rest of FFmpeg.

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

12 years agoRemove pointless code.
Michael Niedermayer [Sat, 9 Feb 2008 17:26:40 +0000 (17:26 +0000)]
Remove pointless code.

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

12 years agoassert() and note about odd len.
Michael Niedermayer [Sat, 9 Feb 2008 14:45:36 +0000 (14:45 +0000)]
assert() and note about odd len.

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

12 years ago30% faster ff_vorbis_floor1_render_list, 3% faster overall
Loren Merritt [Sat, 9 Feb 2008 13:53:15 +0000 (13:53 +0000)]
30% faster ff_vorbis_floor1_render_list, 3% faster overall

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

12 years agouse fewer registers in apply_welch_window_sse2
Loren Merritt [Sat, 9 Feb 2008 05:29:47 +0000 (05:29 +0000)]
use fewer registers in apply_welch_window_sse2

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

12 years agooptimize apply_welch_window()
Michael Niedermayer [Sat, 9 Feb 2008 03:42:48 +0000 (03:42 +0000)]
optimize apply_welch_window()

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

12 years agoUse a consistent capitalization for 'Snow' as discussed on the list
Mike Melanson [Fri, 8 Feb 2008 19:17:46 +0000 (19:17 +0000)]
Use a consistent capitalization for 'Snow' as discussed on the list

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

12 years agocosmetics, remove whitespaces before and after parenthesis
Baptiste Coudurier [Wed, 6 Feb 2008 18:57:00 +0000 (18:57 +0000)]
cosmetics, remove whitespaces before and after parenthesis

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

12 years agoAdd support for speex in ogg
Reimar Döffinger [Wed, 6 Feb 2008 12:37:37 +0000 (12:37 +0000)]
Add support for speex in ogg

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

12 years agosse2 h264 motion compensation. not new code, just separate out the cases that didn...
Loren Merritt [Wed, 6 Feb 2008 12:32:31 +0000 (12:32 +0000)]
sse2 h264 motion compensation. not new code, just separate out the cases that didn't need ssse3.

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

12 years agoput loop counter in a register if possible. makes some of the qpel functions 3% faster.
Loren Merritt [Wed, 6 Feb 2008 04:44:21 +0000 (04:44 +0000)]
put loop counter in a register if possible. makes some of the qpel functions 3% faster.

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

12 years agofix aliasing warnings. simpler too.
Loren Merritt [Wed, 6 Feb 2008 04:14:07 +0000 (04:14 +0000)]
fix aliasing warnings. simpler too.

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

12 years agoconstant was excessively aligned
Loren Merritt [Wed, 6 Feb 2008 03:51:53 +0000 (03:51 +0000)]
constant was excessively aligned

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

12 years agoAllow the user to select which codec out of several in stsd he wants.
Michael Niedermayer [Wed, 6 Feb 2008 01:51:32 +0000 (01:51 +0000)]
Allow the user to select which codec out of several in stsd he wants.

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

12 years agoCheck that we have enough input data in IMC decoder.
Reimar Döffinger [Tue, 5 Feb 2008 18:39:55 +0000 (18:39 +0000)]
Check that we have enough input data in IMC decoder.

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

12 years agossse3 h264 motion compensation.
Loren Merritt [Tue, 5 Feb 2008 11:22:55 +0000 (11:22 +0000)]
ssse3 h264 motion compensation.
25% faster tham mmx on core2, 35% if you discount fullpel, 4% overall decoding.

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

12 years agoadd qpel rounder once during hv rather than twice during hv and whatever it's average...
Loren Merritt [Tue, 5 Feb 2008 03:58:13 +0000 (03:58 +0000)]
add qpel rounder once during hv rather than twice during hv and whatever it's averaged with

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

12 years agoseek regression ref update for ogg
Baptiste Coudurier [Tue, 5 Feb 2008 01:35:34 +0000 (01:35 +0000)]
seek regression ref update for ogg

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

12 years agoclean up an ugliness introduced in r11826. this syntax will require fewer changes...
Loren Merritt [Tue, 5 Feb 2008 01:16:48 +0000 (01:16 +0000)]
clean up an ugliness introduced in r11826. this syntax will require fewer changes when adding future sse2 code.

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

12 years agoFix issue 338:
Baptiste Coudurier [Tue, 5 Feb 2008 01:16:47 +0000 (01:16 +0000)]
Fix issue 338:
Correctly interleave ogg packets per granule
and set eos correctly, 2 packets buffering is needed.
It duplicates interleave_per_dts a bit,
if someone has a good solution, I'll implement it.

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

12 years agoit seems ogg requires granule to be -1 on unfinished packets
Baptiste Coudurier [Tue, 5 Feb 2008 01:01:56 +0000 (01:01 +0000)]
it seems ogg requires granule to be -1 on unfinished packets

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

12 years agoDeprecate old and inefficient per instruction asm().
Michael Niedermayer [Mon, 4 Feb 2008 20:03:08 +0000 (20:03 +0000)]
Deprecate old and inefficient per instruction asm().

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

12 years agoUpdate seektest regression as well to previous lavf/nut commits
Oded Shimon [Mon, 4 Feb 2008 19:03:50 +0000 (19:03 +0000)]
Update seektest regression as well to previous lavf/nut commits

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

12 years agoreduce code duplication
Loren Merritt [Mon, 4 Feb 2008 16:20:46 +0000 (16:20 +0000)]
reduce code duplication

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

12 years agoCorrect fatal ambiguity.
Michael Niedermayer [Mon, 4 Feb 2008 13:12:15 +0000 (13:12 +0000)]
Correct fatal ambiguity.

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

12 years agoCorrect incorrect statement about warnings.
Michael Niedermayer [Mon, 4 Feb 2008 13:10:14 +0000 (13:10 +0000)]
Correct incorrect statement about warnings.

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

12 years agoString pointers of ogg_codec_t should have const attribute.
Reimar Döffinger [Mon, 4 Feb 2008 12:32:25 +0000 (12:32 +0000)]
String pointers of ogg_codec_t should have const attribute.

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

12 years agoAdd dv50 tag to support samples with dv50 fourcc in AVI.
Christophe Lorenz [Mon, 4 Feb 2008 12:18:00 +0000 (12:18 +0000)]
Add dv50 tag to support samples with dv50 fourcc in AVI.
patch by christophelorenz  christophelorenz gmail com

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

12 years agoUpdate policy entry about compiler warnings to reflect ml discussions.
Diego Biurrun [Mon, 4 Feb 2008 12:16:14 +0000 (12:16 +0000)]
Update policy entry about compiler warnings to reflect ml discussions.

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

12 years agoFix a possible use of an uninitialized pointer.
Reimar Döffinger [Mon, 4 Feb 2008 12:13:09 +0000 (12:13 +0000)]
Fix a possible use of an uninitialized pointer.

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

12 years agoback_ptr calculation used wrong timebase when searching for back syncpoint
Oded Shimon [Mon, 4 Feb 2008 10:48:41 +0000 (10:48 +0000)]
back_ptr calculation used wrong timebase when searching for back syncpoint

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

12 years agoFix intented algo in syncpoint writing before keyframes in NUT muxer
Oded Shimon [Mon, 4 Feb 2008 10:45:32 +0000 (10:45 +0000)]
Fix intented algo in syncpoint writing before keyframes in NUT muxer

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

12 years agonut->max_distance was not set at all anywhere in the NUT muxer
Oded Shimon [Mon, 4 Feb 2008 10:34:35 +0000 (10:34 +0000)]
nut->max_distance was not set at all anywhere in the NUT muxer

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

12 years agoRemove old workaround in nutdec.c for libnut bug
Oded Shimon [Mon, 4 Feb 2008 10:30:38 +0000 (10:30 +0000)]
Remove old workaround in nutdec.c for libnut bug

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

12 years agomissing " && j<syncpoint_count" protection in the index parsing, as the
Oded Shimon [Mon, 4 Feb 2008 10:29:03 +0000 (10:29 +0000)]
missing " && j<syncpoint_count" protection in the index parsing, as the
spec instructs...

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

12 years agoff_nut_reset_ts() expected to get 'ts*time_base_count', but muxer only
Oded Shimon [Mon, 4 Feb 2008 10:27:32 +0000 (10:27 +0000)]
ff_nut_reset_ts() expected to get 'ts*time_base_count', but muxer only
gave it 'ts'. Fixed by changing ff_nut_reset_ts() and demuxer params

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

12 years agoMake luma_dc_quant_i and luma_dc_quant_p const, fixes a couple of
Diego Biurrun [Mon, 4 Feb 2008 10:26:35 +0000 (10:26 +0000)]
Make luma_dc_quant_i and luma_dc_quant_p const, fixes a couple of
"assignment discards qualifiers from pointer target type" warnings.
blessed by Konstantin Shishkov

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

12 years ago2 more missing consts found by -Wwrite-strings.
Michael Niedermayer [Mon, 4 Feb 2008 01:06:04 +0000 (01:06 +0000)]
2 more missing consts found by -Wwrite-strings.

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

12 years agoRemove incorrect cast found by -Wwrite-strings.
Michael Niedermayer [Mon, 4 Feb 2008 01:04:27 +0000 (01:04 +0000)]
Remove incorrect cast found by -Wwrite-strings.

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

12 years agoAnother const found by -Wwrite-strings.
Michael Niedermayer [Mon, 4 Feb 2008 01:01:52 +0000 (01:01 +0000)]
Another const found by -Wwrite-strings.

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

12 years agoconst
Michael Niedermayer [Mon, 4 Feb 2008 00:49:14 +0000 (00:49 +0000)]
const

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

12 years agofix 8 "initialization discards qualifiers from pointer target type"
Michael Niedermayer [Mon, 4 Feb 2008 00:42:27 +0000 (00:42 +0000)]
fix 8 "initialization discards qualifiers from pointer target type"
warnings

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

12 years agoconst
Michael Niedermayer [Mon, 4 Feb 2008 00:37:36 +0000 (00:37 +0000)]
const

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

12 years agoFix info packet type, found by oded as well as the new pedantic const
Michael Niedermayer [Mon, 4 Feb 2008 00:33:52 +0000 (00:33 +0000)]
Fix info packet type, found by oded as well as the new pedantic const
warnings.

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

12 years ago-Wwrite-strings nitpicking fix
Michael Niedermayer [Mon, 4 Feb 2008 00:31:31 +0000 (00:31 +0000)]
-Wwrite-strings nitpicking fix

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

12 years agoMissing const found by -Wwrite-strings.
Michael Niedermayer [Mon, 4 Feb 2008 00:26:43 +0000 (00:26 +0000)]
Missing const found by -Wwrite-strings.

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

12 years agoconst
Michael Niedermayer [Sun, 3 Feb 2008 23:25:35 +0000 (23:25 +0000)]
const

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

12 years agoWarn if a comparison is always true or always false due to the
Michael Niedermayer [Sun, 3 Feb 2008 22:31:25 +0000 (22:31 +0000)]
Warn if a comparison is always true or always false due to the
limited range of the data type.
The only new warning this causes (if i didnt miss one) is:
udp.c:272: warning: comparison of unsigned expression < 0 is always false
which is a real bug

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

12 years agoMissing const found by -Wwrite-strings.
Michael Niedermayer [Sun, 3 Feb 2008 21:56:13 +0000 (21:56 +0000)]
Missing const found by -Wwrite-strings.

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

12 years agoremove single-frame images from seektest
Måns Rullgård [Sun, 3 Feb 2008 21:38:56 +0000 (21:38 +0000)]
remove single-frame images from seektest

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

12 years agotypo
Diego Biurrun [Sun, 3 Feb 2008 21:37:49 +0000 (21:37 +0000)]
typo

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

12 years agoMake string constants const. Why is this not default?
Michael Niedermayer [Sun, 3 Feb 2008 21:33:26 +0000 (21:33 +0000)]
Make string constants const. Why is this not default?

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

12 years agoremove useless/incorrect comments in regression.sh
Måns Rullgård [Sun, 3 Feb 2008 19:26:32 +0000 (19:26 +0000)]
remove useless/incorrect comments in regression.sh

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

12 years agosplit lavf regression tests
Måns Rullgård [Sun, 3 Feb 2008 19:26:29 +0000 (19:26 +0000)]
split lavf regression tests

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

12 years agosplit regression tests allowing make to run them in parallel
Måns Rullgård [Sun, 3 Feb 2008 19:26:26 +0000 (19:26 +0000)]
split regression tests allowing make to run them in parallel

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

12 years agoget seek regression test filenames from reference file
Måns Rullgård [Sun, 3 Feb 2008 19:26:22 +0000 (19:26 +0000)]
get seek regression test filenames from reference file

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

12 years agompegvideo.h has two function declarations with the 'inline' specifier
Uoti Urpala [Sun, 3 Feb 2008 17:54:30 +0000 (17:54 +0000)]
mpegvideo.h has two function declarations with the 'inline' specifier
but no definition for those functions. The C standard requires a
definition to appear in the same translation unit for any function
declared with 'inline'. Most of the files including mpegvideo.h do not
define those functions. Fix this by removing the 'inline' specifiers
from the header.
patch by Uoti Urpala

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

12 years agoavg_pixels4_mmx2
Loren Merritt [Sun, 3 Feb 2008 17:04:33 +0000 (17:04 +0000)]
avg_pixels4_mmx2

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

12 years agouse mmx2/3dnow avg functions in avg_qpel*_mc00
Loren Merritt [Sun, 3 Feb 2008 16:19:37 +0000 (16:19 +0000)]
use mmx2/3dnow avg functions in avg_qpel*_mc00

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

12 years agoRemove ff_mms_set_stream_selection again from asf demuxer,
Reimar Döffinger [Sun, 3 Feb 2008 11:18:53 +0000 (11:18 +0000)]
Remove ff_mms_set_stream_selection again from asf demuxer,
it does not seem like a good solution to the problem and will
cause dependency problems if a libavprotocols should be split out.

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

12 years agoff_h264_idct8_add_sse2.
Loren Merritt [Sun, 3 Feb 2008 07:05:11 +0000 (07:05 +0000)]
ff_h264_idct8_add_sse2.
compared to mmx, 217->126 cycles on core2, 262->220 on k8.

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

12 years agoremove some movq in ff_h264_idct8_add_mmx. 225->217 cycles on core2.
Loren Merritt [Sun, 3 Feb 2008 03:21:47 +0000 (03:21 +0000)]
remove some movq in ff_h264_idct8_add_mmx. 225->217 cycles on core2.

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

12 years agoRemove incorrect casts that should have never been there.
Michael Niedermayer [Sat, 2 Feb 2008 22:55:58 +0000 (22:55 +0000)]
Remove incorrect casts that should have never been there.

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

12 years agoMake avcodec_decode_* functions take const input buffers.
Michael Niedermayer [Sat, 2 Feb 2008 22:54:50 +0000 (22:54 +0000)]
Make avcodec_decode_* functions take const input buffers.

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

12 years ago100l, since we already check for buf_size == 769 we should also
Reimar Döffinger [Sat, 2 Feb 2008 22:34:44 +0000 (22:34 +0000)]
100l, since we already check for buf_size == 769 we should also
handle buf_size < 769 instead of just crashing in smacker decoder.

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

12 years agoUse bytestream_get_be24 to simplify palette parsing.
Reimar Döffinger [Sat, 2 Feb 2008 22:31:11 +0000 (22:31 +0000)]
Use bytestream_get_be24 to simplify palette parsing.

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

12 years agomark qtrle input data as const.
Reimar Döffinger [Sat, 2 Feb 2008 22:09:07 +0000 (22:09 +0000)]
mark qtrle input data as const.

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

12 years agoRemove a pointless cast.
Reimar Döffinger [Sat, 2 Feb 2008 22:03:01 +0000 (22:03 +0000)]
Remove a pointless cast.

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

12 years agoAdd some const where appropriate
Reimar Döffinger [Sat, 2 Feb 2008 21:55:56 +0000 (21:55 +0000)]
Add some const where appropriate

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

12 years agoFix warning:
Reimar Döffinger [Sat, 2 Feb 2008 21:38:25 +0000 (21:38 +0000)]
Fix warning:
libavcodec/tiffenc.c:136: warning: pointer type mismatch in conditional expression

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

12 years agoconst
Michael Niedermayer [Sat, 2 Feb 2008 21:24:54 +0000 (21:24 +0000)]
const

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

12 years agoPut is_mms under ifdef CONFIG_MMSH_PROTOCOL, avoids warning:
Reimar Döffinger [Sat, 2 Feb 2008 21:17:46 +0000 (21:17 +0000)]
Put is_mms under ifdef CONFIG_MMSH_PROTOCOL, avoids warning:
libavformat/asf.c:112: warning: 'is_mms' defined but not used

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

12 years agoMissing 'const' in cast.
Reimar Döffinger [Sat, 2 Feb 2008 20:58:58 +0000 (20:58 +0000)]
Missing 'const' in cast.

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

12 years agoMake src const.
Michael Niedermayer [Sat, 2 Feb 2008 17:13:40 +0000 (17:13 +0000)]
Make src const.

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

12 years agovoid arithmetic
Michael Niedermayer [Sat, 2 Feb 2008 17:12:17 +0000 (17:12 +0000)]
void arithmetic

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

12 years agoRemove -Werror= CFLAGS that do not have the desired effect.
Diego Biurrun [Sat, 2 Feb 2008 15:46:52 +0000 (15:46 +0000)]
Remove -Werror= CFLAGS that do not have the desired effect.

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

12 years agocosmetics: sort ogg_codec_t list
Diego Biurrun [Sat, 2 Feb 2008 14:55:57 +0000 (14:55 +0000)]
cosmetics: sort ogg_codec_t list

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

12 years agoSome consts for cscd decoder helper functions
Reimar Döffinger [Sat, 2 Feb 2008 14:34:43 +0000 (14:34 +0000)]
Some consts for cscd decoder helper functions

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

12 years ago"swap first two elements of L1 if L0 and L1 are identical" applies after splitting...
Loren Merritt [Sat, 2 Feb 2008 10:54:20 +0000 (10:54 +0000)]
"swap first two elements of L1 if L0 and L1 are identical" applies after splitting the lists into fields

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

12 years agofix mbaff diagonal neighbor mv
Loren Merritt [Sat, 2 Feb 2008 10:53:15 +0000 (10:53 +0000)]
fix mbaff diagonal neighbor mv

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

12 years agombaff spatial direct
Loren Merritt [Sat, 2 Feb 2008 10:51:56 +0000 (10:51 +0000)]
mbaff spatial direct

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

12 years agoDo not modify input data
Kostya Shishkov [Sat, 2 Feb 2008 08:28:07 +0000 (08:28 +0000)]
Do not modify input data

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

12 years agoIMC decoder always operates on 64-byte blocks
Kostya Shishkov [Sat, 2 Feb 2008 08:26:49 +0000 (08:26 +0000)]
IMC decoder always operates on 64-byte blocks

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

12 years agonon-const 2nd parameter for strtol/strtod
Aurelien Jacobs [Sat, 2 Feb 2008 00:54:37 +0000 (00:54 +0000)]
non-const 2nd parameter for strtol/strtod

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

12 years agouse AV_RL* instead of le2me_*
Aurelien Jacobs [Fri, 1 Feb 2008 23:49:56 +0000 (23:49 +0000)]
use AV_RL* instead of le2me_*

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

12 years agodon't cast const away
Aurelien Jacobs [Fri, 1 Feb 2008 23:48:39 +0000 (23:48 +0000)]
don't cast const away

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