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

Side by Side Diff: third_party/ffmpeg/patches/to_upstream/48_aac_infinite_loop.patch

Issue 335018: ffmpeg patch to patch 42 to avoid infinite loop (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/aac.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Index: patched-ffmpeg-mt/libavcodec/aac.c
2 ===================================================================
3 --- patched-ffmpeg-mt/libavcodec/aac.c (revision 29964)
4 +++ patched-ffmpeg-mt/libavcodec/aac.c (working copy)
5 @@ -641,7 +641,7 @@
6 while ((sect_len_incr = get_bits(gb, bits)) == (1 << bits)-1)
7 sect_len += sect_len_incr;
8 sect_len += sect_len_incr;
9 - if (sect_len > ics->max_sfb || sect_len == 0) {
10 + if (sect_len > ics->max_sfb || sect_len == k) {
11 av_log(ac->avccontext, AV_LOG_ERROR,
12 "Number of bands (%d) is invalid, limit (%d).\n",
13 sect_len, ics->max_sfb);
OLDNEW
« no previous file with comments | « third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/aac.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698