Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: patches/ugly/08_enforce_theora_oob.patch

Issue 4533003: patched ffmpeg nov 2 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698