Commit 15a8bef0 authored by Sascha Sommer's avatar Sascha Sommer

skip unsupported postproc information

Originally committed as revision 26268 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b86dd1bf
...@@ -1290,9 +1290,10 @@ static int decode_frame(WMAProDecodeCtx *s) ...@@ -1290,9 +1290,10 @@ static int decode_frame(WMAProDecodeCtx *s)
/** read postproc transform */ /** read postproc transform */
if (s->num_channels > 1 && get_bits1(gb)) { if (s->num_channels > 1 && get_bits1(gb)) {
av_log_ask_for_sample(s->avctx, "Unsupported postproc transform found\n"); if (get_bits1(gb)) {
s->packet_loss = 1; for (i = 0; i < s->num_channels * s->num_channels; i++)
return 0; skip_bits(gb, 4);
}
} }
/** read drc info */ /** read drc info */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment