1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-21 00:35:05 +02:00
Commit Graph

12690 Commits

Author SHA1 Message Date
Oded Shimon
103d74ea5c 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
2008-02-04 10:27:32 +00:00
Diego Biurrun
1db38dad33 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
2008-02-04 10:26:35 +00:00
Michael Niedermayer
f70eccdb39 2 more missing consts found by -Wwrite-strings.
Originally committed as revision 11849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 01:06:04 +00:00
Michael Niedermayer
37e4979a2c Remove incorrect cast found by -Wwrite-strings.
Originally committed as revision 11848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 01:04:27 +00:00
Michael Niedermayer
8df94c73dc Another const found by -Wwrite-strings.
Originally committed as revision 11847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 01:01:52 +00:00
Michael Niedermayer
1701cbfafc const
Originally committed as revision 11846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 00:49:14 +00:00
Michael Niedermayer
8dd8dc5790 fix 8 "initialization discards qualifiers from pointer target type"
warnings

Originally committed as revision 11845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 00:42:27 +00:00
Michael Niedermayer
f73008d820 const
Originally committed as revision 11844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 00:37:36 +00:00
Michael Niedermayer
0fca8bc835 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
2008-02-04 00:33:52 +00:00
Michael Niedermayer
7ebab67901 -Wwrite-strings nitpicking fix
Originally committed as revision 11842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 00:31:31 +00:00
Michael Niedermayer
4cf97abb98 Missing const found by -Wwrite-strings.
Originally committed as revision 11841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 00:26:43 +00:00
Michael Niedermayer
20e4beaef7 const
Originally committed as revision 11840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 23:25:35 +00:00
Michael Niedermayer
652a5bf69d 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
2008-02-03 22:31:25 +00:00
Michael Niedermayer
f522310b6d Missing const found by -Wwrite-strings.
Originally committed as revision 11838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 21:56:13 +00:00
Måns Rullgård
9d6a96af24 remove single-frame images from seektest
Originally committed as revision 11837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 21:38:56 +00:00
Diego Biurrun
751a649390 typo
Originally committed as revision 11836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 21:37:49 +00:00
Michael Niedermayer
9aceb3cfbc Make string constants const. Why is this not default?
Originally committed as revision 11835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 21:33:26 +00:00
Måns Rullgård
704abfec05 remove useless/incorrect comments in regression.sh
Originally committed as revision 11834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 19:26:32 +00:00
Måns Rullgård
2009721d99 split lavf regression tests
Originally committed as revision 11833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 19:26:29 +00:00
Måns Rullgård
4383ed5cba split regression tests allowing make to run them in parallel
Originally committed as revision 11832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 19:26:26 +00:00
Måns Rullgård
d2e40fe5e1 get seek regression test filenames from reference file
Originally committed as revision 11831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 19:26:22 +00:00
Uoti Urpala
4bdd3b76fe 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
2008-02-03 17:54:30 +00:00
Loren Merritt
b313e8159c avg_pixels4_mmx2
Originally committed as revision 11829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 17:04:33 +00:00
Loren Merritt
6c01d0069d use mmx2/3dnow avg functions in avg_qpel*_mc00
Originally committed as revision 11828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 16:19:37 +00:00
Reimar Döffinger
7abe438045 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
2008-02-03 11:18:53 +00:00
Loren Merritt
ed5d7a531c 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
2008-02-03 07:05:11 +00:00
Loren Merritt
51f0ac65df 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
2008-02-03 03:21:47 +00:00
Michael Niedermayer
dc29622385 Remove incorrect casts that should have never been there.
Originally committed as revision 11824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 22:55:58 +00:00
Michael Niedermayer
2efa7fd10d Make avcodec_decode_* functions take const input buffers.
Originally committed as revision 11823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 22:54:50 +00:00
Reimar Döffinger
909063f745 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
2008-02-02 22:34:44 +00:00
Reimar Döffinger
3e368d726a Use bytestream_get_be24 to simplify palette parsing.
Originally committed as revision 11821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 22:31:11 +00:00
Reimar Döffinger
04deea9ad2 mark qtrle input data as const.
Originally committed as revision 11820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 22:09:07 +00:00
Reimar Döffinger
2907abed17 Remove a pointless cast.
Originally committed as revision 11819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 22:03:01 +00:00
Reimar Döffinger
b3d5468d87 Add some const where appropriate
Originally committed as revision 11818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 21:55:56 +00:00
Reimar Döffinger
6be4042c52 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
2008-02-02 21:38:25 +00:00
Michael Niedermayer
6c51fd3f2b const
Originally committed as revision 11816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 21:24:54 +00:00
Reimar Döffinger
4d65da424a 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
2008-02-02 21:17:46 +00:00
Reimar Döffinger
b630a39ecd Missing 'const' in cast.
Originally committed as revision 11814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 20:58:58 +00:00
Michael Niedermayer
ae77c4b007 Make src const.
Originally committed as revision 11813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 17:13:40 +00:00
Michael Niedermayer
b0ddba1291 void arithmetic
Originally committed as revision 11812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 17:12:17 +00:00
Diego Biurrun
1bc0a44d79 Remove -Werror= CFLAGS that do not have the desired effect.
Originally committed as revision 11811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 15:46:52 +00:00
Diego Biurrun
5f359c8d3e cosmetics: sort ogg_codec_t list
Originally committed as revision 11810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 14:55:57 +00:00
Reimar Döffinger
eee7e7998b Some consts for cscd decoder helper functions
Originally committed as revision 11809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 14:34:43 +00:00
Loren Merritt
ffbc5e04ce "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
2008-02-02 10:54:20 +00:00
Loren Merritt
02f7695b0b fix mbaff diagonal neighbor mv
Originally committed as revision 11807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 10:53:15 +00:00
Loren Merritt
50b3ab0fa5 mbaff spatial direct
Originally committed as revision 11806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 10:51:56 +00:00
Kostya Shishkov
4990eb5f49 Do not modify input data
Originally committed as revision 11805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 08:28:07 +00:00
Kostya Shishkov
0fe04628b9 IMC decoder always operates on 64-byte blocks
Originally committed as revision 11804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 08:26:49 +00:00
Aurelien Jacobs
815f98cce4 non-const 2nd parameter for strtol/strtod
Originally committed as revision 11803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 00:54:37 +00:00
Aurelien Jacobs
2755e41d26 use AV_RL* instead of le2me_*
Originally committed as revision 11802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 23:49:56 +00:00