Diego Biurrun
52548eeede
BMP encoder by Michel Bardiaux, mbardiaux mediaxim be
...
Originally committed as revision 7824 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Sascha Sommer
8274e4224a
fix use of uninitialized variables
...
Originally committed as revision 7822 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benoit Fouet
487747de57
Remove useless check, patch by Benoit Fouet, benoit.fouet purplelabs com.
...
Originally committed as revision 7821 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
4305a4ef0d
Set codec dimensions in extradata parsing
...
Originally committed as revision 7820 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
5dc4b2108f
table fix
...
Originally committed as revision 7819 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ac975ac462
useless as this file wont be compiled if this is not true
...
Originally committed as revision 7816 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
93731ff27d
Save frame header info in context variables
...
Originally committed as revision 7815 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
f0c31621c6
Set frame rate from extradata
...
Originally committed as revision 7814 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
5773d46009
factorize switch_buffer()
...
Originally committed as revision 7813 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
e0cf92048a
fix decoding of takethat.mp3
...
Originally committed as revision 7812 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
f0a85d5f5c
These messages are just for debug purposes
...
Originally committed as revision 7811 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
e7cf38e556
Set codec dimensions if provided by extradata
...
Originally committed as revision 7810 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
35bffd7f3d
VC-1 parser
...
Originally committed as revision 7809 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
8165ee9394
0x00000103 is not an escape marker
...
Originally committed as revision 7807 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
3d7232ff00
add FIXME
...
Originally committed as revision 7804 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
77ccd3ba54
General approach to parsing chunks in VC-1 AP
...
Originally committed as revision 7803 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
14c49573d8
some (probably exploitable) out of array write fixes
...
Originally committed as revision 7802 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
7348ed6e94
missed a redundant load
...
Originally committed as revision 7801 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
7c6c0dd9e7
revert accidental checkin
...
Originally committed as revision 7800 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
ac62b62600
save one cycle
...
Originally committed as revision 7799 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
173fd724f5
remove redundant loads
...
Originally committed as revision 7798 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
b956373b6f
Check for out-of-bounds access
...
Originally committed as revision 7797 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
286c71074a
Add decode_end method to bmp decoder. Patch by Michel Bardiaux,
...
mbardiaux mediaxim dot be.
Originally committed as revision 7796 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
09d7aa7e30
correctly set profile/level for hd
...
Originally committed as revision 7795 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
65d999d6cf
Activate guards in avcodec_default_get_buffer. Patch by Michel Bardiaux,
...
mbardiaux mediaxim dot be.
Originally committed as revision 7794 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
118a49b0b7
optimize IDCT of rows with mostly zero coefficients
...
Originally committed as revision 7790 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
4302963daa
Move lzo decompression to libavutil
...
Originally committed as revision 7789 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
c215e40316
Make sure we do not accidentially "fix" cnt to something < 0
...
Originally committed as revision 7788 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
c0a8b87600
Simplify checks, use that we know that cnt will not be < 0
...
Originally committed as revision 7787 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
56f8647aaa
Remove boundary checks that are actually done "well enough"
...
in copy function
Originally committed as revision 7786 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
9b2c14df60
Documentation fix: Copy functions should "work" fine for cnt == 0
...
Originally committed as revision 7785 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
1db8c21c1f
Optimize LZO copy operations
...
Originally committed as revision 7784 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
e8f917d6fd
Fix memcpy out-of-bounds.
...
patch by Michel Bardiaux, mbardiaux mediaxim be
Originally committed as revision 7780 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
960e48f8f0
another >> vs >
...
Originally committed as revision 7779 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
bf47272f3c
simpify state and make code 2% faster
...
reimar, dont hesitate to flame me for not sending patches and feel free to revert any or all of my changes to lzo.c if you dont like them
Originally committed as revision 7778 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
5fe9c42ceb
Add two extra needed bounds checks
...
Originally committed as revision 7777 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
801778bc83
replace if(x>>b) by if(x>C) as shifts are slow on some cpus and i have my doubts that gcc can replace the shifts as x is signed, it could in theory but well its gcc ...
...
Originally committed as revision 7776 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
d62a0c1e5d
Add code to testcode to ease comparing with liblzo.
...
Originally committed as revision 7775 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
e96cc09dd2
Make BMP decoder use bytestream. Patch by Michel Bardiaux
...
mbardiaux mediaxim dot be.
Originally committed as revision 7773 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
eabf65608d
Remove the getbe16 functions and use the AV_RB16 macro instead. Patch by Ian
...
Caulfield, ian dot caulfield gmail dot com.
Originally committed as revision 7768 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ian Caulfield
4ee97612c7
Fix a bug in the DVD subtitle decoder where subtitles with odd heights would not
...
have the last line decoded, leaving the bottom line of the bitmap array
uninitialised. Patch by Ian Caulfield, ian dot caulfield gmail dot com.
Originally committed as revision 7767 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
9dd6c80453
Add the const specifier as needed to reduce the number of warnings.
...
Originally committed as revision 7764 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
204ce38f53
typo fix by Dmitry Antipov dmantipov =a= yandex =d= ru
...
Originally committed as revision 7763 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
34b1b8fda8
theoretically save one cycle
...
Originally committed as revision 7762 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
b024824bed
Fix BI-frames decoding for Adv. profile
...
Originally committed as revision 7758 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
d8b7b352a8
Fix segfault in bmp decoder. Patch by Michel Bardiaux mbardiaux mediaxim dot be.
...
Originally committed as revision 7757 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
753c9d3260
Check that js_vlc_bits from the extradata is in a valid range.
...
Originally committed as revision 7756 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
862be28b19
Get rid of the COOKextradata struct. And use valid C to parse the extradata.
...
Originally committed as revision 7755 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
6e584be16c
Kill a warning and don't use modulus.
...
Originally committed as revision 7754 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benjamin Larsson
a5b8a69c70
decode_subpacket cleanup by Ian Braithwaite ian braithwaite dot dk.
...
Originally committed as revision 7753 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago