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; |
- } |
- |