| Index: patches/ugly/08_enforce_theora_oob.patch
|
| ===================================================================
|
| --- patches/ugly/08_enforce_theora_oob.patch (revision 65184)
|
| +++ patches/ugly/08_enforce_theora_oob.patch (working copy)
|
| @@ -1,7 +1,7 @@
|
| -diff -rpu -N orig/libavcodec/vp3.c ffmpeg-mt/libavcodec/vp3.c
|
| ---- orig/libavcodec/vp3.c 2010-10-11 16:55:01 -0700
|
| -+++ ffmpeg-mt/libavcodec/vp3.c 2010-10-11 16:55:02 -0700
|
| -@@ -869,6 +869,11 @@ static int unpack_vlcs(Vp3DecodeContext
|
| +diff -wurp -N orig/libavcodec/vp3.c ffmpeg-mt/libavcodec/vp3.c
|
| +--- orig/libavcodec/vp3.c 2010-11-04 08:07:33 -0700
|
| ++++ ffmpeg-mt/libavcodec/vp3.c 2010-11-04 08:07:37 -0700
|
| +@@ -869,6 +869,11 @@ static int unpack_vlcs(Vp3DecodeContext
|
| int num_coeffs = s->num_coded_frags[plane][coeff_index];
|
| int16_t *dct_tokens = s->dct_tokens[plane][coeff_index];
|
|
|
| @@ -25,7 +25,7 @@
|
| return 0;
|
| }
|
|
|
| -@@ -1843,6 +1853,7 @@ static int vp3_decode_frame(AVCodecConte
|
| +@@ -1841,6 +1851,7 @@ static int vp3_decode_frame(AVCodecConte
|
| int i;
|
|
|
| init_get_bits(&gb, buf, buf_size * 8);
|
| @@ -33,7 +33,7 @@
|
|
|
| if (s->theora && get_bits1(&gb))
|
| {
|
| -@@ -2292,6 +2303,7 @@ static av_cold int theora_decode_init(AV
|
| +@@ -2286,6 +2297,7 @@ static av_cold int theora_decode_init(AV
|
|
|
| for(i=0;i<3;i++) {
|
| init_get_bits(&gb, header_start[i], header_len[i] * 8);
|
|
|