Hello, attached patch fixes a crash when pred_order > s->blocksize >> rice_order, as exposed by http://sam.zoy.org/zzuf/lol-mplayer.flac Since I do not know the spec i have no idea if this patch is the correct way to fix it though (though it is very simple and looks like it could make sense). Greetings, Reimar Doeffinger -------------- next part -------------- Index: libavcodec/flac.c =================================================================== --- libavcodec/flac.c (revision 7541) +++ libavcodec/flac.c (working copy) @@ -245,7 +245,7 @@ s->decoded[channel][sample] = get_sr_golomb_flac(&s->gb, tmp, INT_MAX, 0); } } - i= 0; + i-= samples; } // av_log(s->avctx, AV_LOG_DEBUG, "partitions: %d, samples: %d\n", 1 << rice_order, sample);
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4