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
17 years ago
Michael Niedermayer
f522310b6d
Missing const found by -Wwrite-strings.
...
Originally committed as revision 11838 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
9d6a96af24
remove single-frame images from seektest
...
Originally committed as revision 11837 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
751a649390
typo
...
Originally committed as revision 11836 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9aceb3cfbc
Make string constants const. Why is this not default?
...
Originally committed as revision 11835 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
704abfec05
remove useless/incorrect comments in regression.sh
...
Originally committed as revision 11834 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
2009721d99
split lavf regression tests
...
Originally committed as revision 11833 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
Loren Merritt
b313e8159c
avg_pixels4_mmx2
...
Originally committed as revision 11829 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
6c01d0069d
use mmx2/3dnow avg functions in avg_qpel*_mc00
...
Originally committed as revision 11828 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
Michael Niedermayer
dc29622385
Remove incorrect casts that should have never been there.
...
Originally committed as revision 11824 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2efa7fd10d
Make avcodec_decode_* functions take const input buffers.
...
Originally committed as revision 11823 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Reimar Döffinger
3e368d726a
Use bytestream_get_be24 to simplify palette parsing.
...
Originally committed as revision 11821 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
04deea9ad2
mark qtrle input data as const.
...
Originally committed as revision 11820 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
2907abed17
Remove a pointless cast.
...
Originally committed as revision 11819 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
b3d5468d87
Add some const where appropriate
...
Originally committed as revision 11818 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Michael Niedermayer
6c51fd3f2b
const
...
Originally committed as revision 11816 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Reimar Döffinger
b630a39ecd
Missing 'const' in cast.
...
Originally committed as revision 11814 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
ae77c4b007
Make src const.
...
Originally committed as revision 11813 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b0ddba1291
void arithmetic
...
Originally committed as revision 11812 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Diego Biurrun
5f359c8d3e
cosmetics: sort ogg_codec_t list
...
Originally committed as revision 11810 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
eee7e7998b
Some consts for cscd decoder helper functions
...
Originally committed as revision 11809 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Loren Merritt
02f7695b0b
fix mbaff diagonal neighbor mv
...
Originally committed as revision 11807 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
50b3ab0fa5
mbaff spatial direct
...
Originally committed as revision 11806 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Kostya Shishkov
4990eb5f49
Do not modify input data
...
Originally committed as revision 11805 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Kostya Shishkov
0fe04628b9
IMC decoder always operates on 64-byte blocks
...
Originally committed as revision 11804 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
815f98cce4
non-const 2nd parameter for strtol/strtod
...
Originally committed as revision 11803 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
2755e41d26
use AV_RL* instead of le2me_*
...
Originally committed as revision 11802 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
4e56af8253
don't cast const away
...
Originally committed as revision 11801 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
60b6dbe716
const
...
Originally committed as revision 11800 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
9f5bd89506
const
...
Originally committed as revision 11799 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
aa819b9b7d
Mixing declarations and statements is an error, so is any construct
...
depending on sizeof(void) (like void_ptr++)
Originally committed as revision 11798 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
5e038b4f08
LZO decoder input is const
...
Originally committed as revision 11797 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c67102f902
const
...
Originally committed as revision 11796 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
31d889ec0a
const
...
Originally committed as revision 11795 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
896b438915
const
...
Originally committed as revision 11794 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1786784259
const
...
Originally committed as revision 11793 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
b034f72b17
Add some const keywords in rtjpeg decoder
...
Originally committed as revision 11792 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7e5cdb5b1b
const
...
Originally committed as revision 11791 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
74dc744850
const
...
Originally committed as revision 11790 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago