diff options
author | Reinhard Tartler <siretart@tauware.de> | 2010-02-26 14:32:27 +0000 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2010-02-26 14:32:27 +0000 |
commit | 8e2149d7dfc6af6291d031baa57fa1e184a85a58 (patch) | |
tree | e07cc3eb8422d46cbdf7803b5055fa9254b3d6e1 /libavformat | |
parent | 9d9f1ecfaa1558cb89d9dd5f0efa1415ae11030e (diff) |
fix the remaining ogv segfaults from issue 1240.
First commit:
Make decode_init fail if the huffman tables are invalid and thus init_vlc fails.
Otherwise this will crash during decoding because the vlc tables are NULL.
Partially fixes ogv/smclock.ogv.1.101.ogv from issue 1240.
backport r19355 by reimar
Second commit:
Add extra validation checks to ff_vorbis_len2vlc.
They should not be necessary, but it seems like a reasonable precaution.
r19374 by reimar
Originally committed as revision 22076 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
Diffstat (limited to 'libavformat')
0 files changed, 0 insertions, 0 deletions