Reimar Döffinger
5484dad7f6
Fix crash when pred_order greater s->blocksize >> rice_order.
...
Fixes http://sam.zoy.org/zzuf/lol-mplayer.flac
Originally committed as revision 7595 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
88e7a4d18c
checking bitstream values and other related changes
...
some of these might have been exploitable
Originally committed as revision 7591 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
fead30d444
rename BE/LE_8/16/32 to AV_RL/B_8/16/32
...
Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
50eaa857c0
remove useless cast that makes code unreadable
...
Originally committed as revision 7586 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Francois Oligny-Lemieux
ac658be5db
harden h264 decoding to prevent some crashes when input data is corrupted.
...
Patch by Frank %eucloid A gmail P com%
date: Jan 18, 2007 6:48 PM
subject: Re: [Ffmpeg-devel] h264, protection against corrupted data (second try patch)
AND
date: Jan 17, 2007 8:22 PM
subject: [Ffmpeg-devel] h264, protection against corrupted data
this also fixes a possible security issue (the sps and pps ids where not checked,
then used as index into an array of sps/pps structs which was then filled with data from the bitstream)
Originally committed as revision 7585 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
045bdb5ab4
uint16->uint8
...
Originally committed as revision 7584 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
e2158da8cc
Change the Snow encoder to always use the available MotionEstContext pointer.
...
Originally committed as revision 7579 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
79acfb0e13
Avoid branches in the loop and solve a gcc warning
...
Originally committed as revision 7566 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
6845801f82
Cosmetics
...
Originally committed as revision 7564 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
0467531999
fix segfault with http://sam.zoy.org/zzuf/lol-ffplay.ogm and
...
http://sam.zoy.org/zzuf/lol-ffplay.ogg
Originally committed as revision 7561 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d9319ccebd
set data_size to 0 so that in case we return without setting it nothing funny can happen
...
Originally committed as revision 7558 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
a02142a50a
fix a gcc warning, avoid an unnecessary operation
...
Originally committed as revision 7555 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
b18e5c031c
Avoid calling decode_slice when context_initialized is not set.
...
Avoids a crash due to dsp.clear_blocks being NULL when called.
Originally committed as revision 7547 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0e066acb62
fix segfault with http://sam.zoy.org/zzuf/lol-ffplay.mpg and http://sam.zoy.org/zzuf/lol-ffplay.m2v
...
Originally committed as revision 7538 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Roman Shaposhnik
e950141a58
* Fixing a bug with incorrect bits set in AAUX source pack
...
* Making DV codec release a buffer on exit
* Flagging accepted pix_fmts for DV encoder
Originally committed as revision 7531 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ac66834c75
avcodec_decode_audio2()
...
difference to avcodec_decode_audio() is that the user can pass the allocated size of the output buffer to the decoder and the decoder can check if theres enough space
Originally committed as revision 7518 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
4785c01668
er and strict also apply to audio theoretically
...
Originally committed as revision 7510 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
ae5574508e
cosmetics: reindent
...
Originally committed as revision 7486 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
dd9b86354c
add support for another variant of vp6
...
with block coeffs coded separatly from other parts of the frame
Originally committed as revision 7484 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
a5ee04c3e0
Buffer for get_bits must be padded because readers may overread.
...
Originally committed as revision 7477 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2d0bcfb412
some interlaced direct sanity checks
...
Originally committed as revision 7442 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
3b6dc9ca6d
replace a few hardcoded numbers with their correct named ones
...
Originally committed as revision 7441 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
6de062957b
fix 16 CABAC_BIT * 10l bug introduced in r6578
...
Originally committed as revision 7440 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
d0f4e4fb17
print error when decoding fails
...
Originally committed as revision 7436 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
a9621908dc
Unconditionally enable Theora decoder. It works fine now and there is no
...
Theora support through libtheora in FFmpeg.
Originally committed as revision 7435 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
f57c7ad234
add missing bit from commit r7423
...
Originally committed as revision 7424 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Siarhei Siamashka
7a88606398
Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te)
...
patch by Siarhei Siamashka % siarhei P siamashka A gmail P com %
Original thread:
Date: Jan 6, 2007 5:07 PM
Subject: [Ffmpeg-devel] [PATCH] Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te) (try2)
and
Date: Jan 2, 2007 6:13 PM
Subject: [Ffmpeg-devel] [PATCH] Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te)
Originally committed as revision 7423 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Robert Swain
a5474d50c3
enable bidirectional me with x264
...
patch by Robert Swain <robert =dot= swain =at= gmail =dot= com>
Originally committed as revision 7422 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
20c9dfe391
cosmetics: Reorder external libraries.
...
Originally committed as revision 7418 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
6ebe07fbb5
variable renaming: mp3lame --> libmp3lame
...
Originally committed as revision 7417 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
2eed5a461f
Rename variables: faad --> libfaad, faac --> libfaac, faadbin --> libfaadbin
...
Originally committed as revision 7416 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
3ffab36139
variable renaming: dts --> libdts
...
Originally committed as revision 7415 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
f8904fd959
Rename variables: a52 --> liba52, a52bin --> liba52bin
...
Originally committed as revision 7414 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
bc9a459780
maybe fixing a segfault
...
Originally committed as revision 7407 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1e90b34f08
dead code removial
...
Originally committed as revision 7405 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
396a5e6837
store a few values in the header as difference to the last
...
this makes frames a few bytes smaller (0.1% for high bitrate but >1% for low bitrates)
Originally committed as revision 7401 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
aac88b534c
Decode previous 32 frames to avoid seeking artifacts in MPC
...
Originally committed as revision 7393 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2606f38a67
skiprd doxygen comment from avcodec.h -> AVOption comment
...
Originally committed as revision 7376 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
185c7b6b26
Musepack SV7 decoding support
...
Originally committed as revision 7375 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
c52f5d66a2
skiprd
...
Originally committed as revision 7365 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d951bb9a5c
test DIRECT{0,0} too if flag mv0 is used
...
slight PSNR/bitrate increase
Originally committed as revision 7361 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
a45bc5922f
bt 0 is invalid, setting min to 1
...
Originally committed as revision 7357 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
df32bc1213
more simplification
...
Originally committed as revision 7352 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
acff54d831
10l
...
Originally committed as revision 7351 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
5970845f1f
FIXME has already been fixed ages ago
...
Originally committed as revision 7348 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
66884a2946
simplify
...
Originally committed as revision 7347 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d6975eb82b
use qscale_table in adaptive quant
...
some PSNR/bitrate improvement for adaptive quant
Originally committed as revision 7346 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2175b80bed
simplify
...
Originally committed as revision 7345 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
3b9cf3bdb3
i think this if() is useless lets abuse our users to test this ;)
...
Originally committed as revision 7344 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2f16af0667
skip motion estimation and encoding of non direct-0,0 MBs if the next MB is skiped (mpeg4 doesnt allow such MBs and in the past we did ME and encoding until at the end we droped them, so this should be faster though i didnt benchmark it, benchmark welcome)
...
Originally committed as revision 7343 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago