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

Side by Side Diff: chromium/patches/ugly/30_enforce_mp3_oob.patch

Issue 9290059: Initial commit of all previous Chrome build scripts. (Closed) Base URL: http://git.chromium.org/chromium/third_party/ffmpeg.git@master
Patch Set: Drop deprecated subfolder. Created 8 years, 11 months 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 unified diff | Download patch
OLDNEW
(Empty)
1 diff -wurp -N orig/libavcodec/mpegaudiodec.c ffmpeg/libavcodec/mpegaudiodec.c
2 --- orig/libavcodec/mpegaudiodec.c 2011-07-12 20:50:08.712944821 -0700
3 +++ ffmpeg/libavcodec/mpegaudiodec.c 2011-07-12 20:50:08.782964340 -0700
4 @@ -1704,6 +1704,7 @@ static int mp_decode_frame(MPADecodeCont
5 OUT_INT *samples_ptr;
6
7 init_get_bits(&s->gb, buf + HEADER_SIZE, (buf_size - HEADER_SIZE)*8);
8 + s->gb.buffer_enforcing = 1;
9
10 /* skip error protection field */
11 if (s->error_protection)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698