Commit Graph

12220 Commits

Author SHA1 Message Date
Michael Niedermayer
2ec3861238 const
Originally committed as revision 11731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:42:08 +00:00
Michael Niedermayer
972c99c112 Use bytestream.
Originally committed as revision 11730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:38:55 +00:00
Michael Niedermayer
9bb5e9e945 const
Originally committed as revision 11729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:32:41 +00:00
Baptiste Coudurier
99fb79b55a Do not print quality when stream copy,
Silence valgrind complaint:
==14746== Conditional jump or move depends on uninitialised value(s)
==14746==    at 0x43488DF: (within /lib/i686/cmov/libc-2.7.so)
==14746==    by 0x434ED81: __printf_fp (in /lib/i686/cmov/libc-2.7.so)
==14746==    by 0x434A3F3: vfprintf (in /lib/i686/cmov/libc-2.7.so)
==14746==    by 0x436EA93: vsnprintf (in /lib/i686/cmov/libc-2.7.so)
==14746==    by 0x4353234: snprintf (in /lib/i686/cmov/libc-2.7.so)
==14746==    by 0x806247C: print_report (ffmpeg.c:963)

Originally committed as revision 11728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:08:04 +00:00
Michael Niedermayer
c27fc644d4 const
Originally committed as revision 11727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:17:56 +00:00
Michael Niedermayer
c82fbf7fba const
Originally committed as revision 11726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:16:26 +00:00
Michael Niedermayer
1545c5e535 const
Originally committed as revision 11725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:14:46 +00:00
Michael Niedermayer
fb2cf1bcf0 const
Originally committed as revision 11724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:14:04 +00:00
Michael Niedermayer
bd0e945f8e const
Originally committed as revision 11723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:11:06 +00:00
Michael Niedermayer
21cc343d85 const
Originally committed as revision 11722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:07:48 +00:00
Michael Niedermayer
75739ba290 const
Originally committed as revision 11721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:04:44 +00:00
Michael Niedermayer
d31522b8f1 const
Originally committed as revision 11720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:02:28 +00:00
Michael Niedermayer
1a2c94cb69 const
Originally committed as revision 11719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:59:06 +00:00
Michael Niedermayer
8687f7679d const
Originally committed as revision 11718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:54:08 +00:00
Michael Niedermayer
ea494db398 const
Originally committed as revision 11717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:51:51 +00:00
Michael Niedermayer
ebc0790441 const
Originally committed as revision 11716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:48:55 +00:00
Michael Niedermayer
f64bbca55d const
Originally committed as revision 11715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:48:32 +00:00
Michael Niedermayer
5d9375da77 const
Originally committed as revision 11714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:47:32 +00:00
Michael Niedermayer
f84a02c0d1 const
Originally committed as revision 11713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:46:11 +00:00
Michael Niedermayer
2b3c8f8a6a const
Originally committed as revision 11712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:40:46 +00:00
Michael Niedermayer
b5777b942d const
Originally committed as revision 11711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:39:15 +00:00
Michael Niedermayer
e68c7a4abe const
Originally committed as revision 11710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:34:43 +00:00
Michael Niedermayer
0431d3b121 one "cast discards qualifiers from pointer target type" less
Originally committed as revision 11709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:29:43 +00:00
Michael Niedermayer
7993df6527 consts
I have underestimated this a little, and these are just some ...

Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:26:31 +00:00
Michael Niedermayer
ff794171c9 Do not cast const away.
Originally committed as revision 11707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:14:50 +00:00
Michael Niedermayer
b1f5712e3c consts
Originally committed as revision 11706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 02:36:09 +00:00
Michael Niedermayer
30317501a0 consts
Originally committed as revision 11705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 02:35:11 +00:00
Michael Niedermayer
6ddaa63cf4 The buffer passed into the decoder should be const.
Originally committed as revision 11704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 02:26:19 +00:00
Michael Niedermayer
a9f8715854 Fix const qualifer issues found by -Wcast-qual.
Originally committed as revision 11703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:40:46 +00:00
Michael Niedermayer
7526ade238 Indention, it seems i have forgotton to commit this.
Originally committed as revision 11702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:35:31 +00:00
Michael Niedermayer
89ef2c29a0 Merge declaration and initialization.
Originally committed as revision 11701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:33:49 +00:00
Michael Niedermayer
070144671d Dont cast const away.
Originally committed as revision 11700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:33:16 +00:00
Michael Niedermayer
f49299967b Warn about casts which remove const.
Feel free to flame me if you disagree that such code is wrong.

Originally committed as revision 11699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:31:49 +00:00
Reimar Döffinger
2331e31c23 Add support for ogg text subtitles.
Originally committed as revision 11698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 22:30:55 +00:00
Michael Niedermayer
b8fe8ab062 Fix the following using void* casts, proper casts are less readable and
avoiding casts would be even less readable, but other suggestions are welcome.
lls.c:56: warning: initialization from incompatible pointer type
lls.c:57: warning: initialization from incompatible pointer type

Originally committed as revision 11697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 20:52:14 +00:00
Michael Niedermayer
aba29e6feb Fix b-libav.ul/al seek regression test.
Originally committed as revision 11696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 20:04:17 +00:00
Baptiste Coudurier
bb41f2e774 fix field order export
Originally committed as revision 11695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 14:23:48 +00:00
Michael Niedermayer
3485b9cdda Revert r11689 and r11690 (uninitalized warning fix) as its theoretically
undefined in C.

Originally committed as revision 11694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 14:01:33 +00:00
Baptiste Coudurier
fa7343eaf2 stupid typo
Originally committed as revision 11693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 13:40:53 +00:00
Reimar Döffinger
9c9519fd39 Two tables that should be const
Originally committed as revision 11692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 12:25:52 +00:00
Baptiste Coudurier
ccac843872 support rawvideo in mov
Originally committed as revision 11691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 11:31:56 +00:00
Michael Niedermayer
b2aba2e6e7 Comment about weird warning prevention.
Originally committed as revision 11690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 02:13:53 +00:00
Michael Niedermayer
b34130ae61 fix "uninitalized" warning, the alternative way.
I hope this is valid C, flame me if not.
md5sum of h263.o doesnt change, so this doesnt cause a slowdown.

Originally committed as revision 11689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 01:38:00 +00:00
Baptiste Coudurier
961c25b588 revert r11677, it is considered speed critical
Originally committed as revision 11688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 01:25:29 +00:00
Baptiste Coudurier
8943802849 add parenthesis, fix warning: snow.c:2413: warning: suggest parentheses around && within ||
Originally committed as revision 11687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:57:48 +00:00
Baptiste Coudurier
f0a7084088 Add const qualifier, fix warnings:
snow.c:2292: warning: assignment discards qualifiers from pointer target type
snow.c:2294: warning: assignment discards qualifiers from pointer target type
snow.c:2300: warning: assignment discards qualifiers from pointer target type

Originally committed as revision 11686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:56:29 +00:00
Baptiste Coudurier
4a9dfdc1c9 add parenthesis, fix warning: qtrleenc.c:257: warning: suggest parentheses around && within ||
Originally committed as revision 11685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:50:21 +00:00
Baptiste Coudurier
d7742a7491 typo, typedef uint8_t GUID[16] in asf.h, and fix warning: asf-enc.c:202: warning: passing argument 2 of 'put_buffer' from incompatible pointer type
Originally committed as revision 11684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:34:22 +00:00
Baptiste Coudurier
febc8fad0c init to 0, fix warning: mpegenc.c:1022: warning: 'avail_space' may be used uninitialized in this function
Originally committed as revision 11683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:27:51 +00:00
Baptiste Coudurier
87be0d1289 add parenthesis, fix warning: mpegenc.c:303: warning: suggest parentheses around && within ||
Originally committed as revision 11682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:25:40 +00:00