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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: patches/to_upstream/03_aac_zero_bands.patch
===================================================================
--- patches/to_upstream/03_aac_zero_bands.patch (revision 41250)
+++ patches/to_upstream/03_aac_zero_bands.patch (working copy)
@@ -1,17 +0,0 @@
-Index: patched-ffmpeg-mt/libavcodec/aac.c
-===================================================================
---- patched-ffmpeg-mt/libavcodec/aac.c (revision 39691)
-+++ patched-ffmpeg-mt/libavcodec/aac.c (working copy)
-@@ -701,9 +701,9 @@
- while ((sect_len_incr = get_bits(gb, bits)) == (1 << bits) - 1)
- sect_end += sect_len_incr;
- sect_end += sect_len_incr;
-- if (sect_end > ics->max_sfb) {
-+ if (sect_end > ics->max_sfb || sect_end == k) {
- av_log(ac->avccontext, AV_LOG_ERROR,
-- "Number of bands (%d) exceeds limit (%d).\n",
-+ "Number of bands (%d) is invalid, limit (%d).\n",
- sect_end, ics->max_sfb);
- return -1;
- }
-

Powered by Google App Engine
This is Rietveld 408576698