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

Side by Side Diff: patches/to_upstream/03_aac_zero_bands.patch

Issue 789004: ffmpeg roll of source to mar 9 version... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 Index: patched-ffmpeg-mt/libavcodec/aac.c
2 ===================================================================
3 --- patched-ffmpeg-mt/libavcodec/aac.c (revision 39691)
4 +++ patched-ffmpeg-mt/libavcodec/aac.c (working copy)
5 @@ -701,9 +701,9 @@
6 while ((sect_len_incr = get_bits(gb, bits)) == (1 << bits) - 1)
7 sect_end += sect_len_incr;
8 sect_end += sect_len_incr;
9 - if (sect_end > ics->max_sfb) {
10 + if (sect_end > ics->max_sfb || sect_end == k) {
11 av_log(ac->avccontext, AV_LOG_ERROR,
12 - "Number of bands (%d) exceeds limit (%d).\n",
13 + "Number of bands (%d) is invalid, limit (%d).\n",
14 sect_end, ics->max_sfb);
15 return -1;
16 }
17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698