diff options
author | Sascha Sommer <saschasommer@freenet.de> | 2011-01-08 15:49:29 +0000 |
---|---|---|
committer | Sascha Sommer <saschasommer@freenet.de> | 2011-01-08 15:49:29 +0000 |
commit | 15a8bef0b6a5f75189fde4db2bca0842a6de91dd (patch) | |
tree | dfa8319d5b875905e93b1d56f7a42c1a1dd2f799 | |
parent | b86dd1bf6d265efe490be91b5a77aaba7a35e755 (diff) | |
download | ffmpeg-15a8bef0b6a5f75189fde4db2bca0842a6de91dd.tar.gz |
skip unsupported postproc information
Originally committed as revision 26268 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/wmaprodec.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c index 0e5ad561ed..5f2375b104 100644 --- a/libavcodec/wmaprodec.c +++ b/libavcodec/wmaprodec.c @@ -1290,9 +1290,10 @@ static int decode_frame(WMAProDecodeCtx *s) /** read postproc transform */ if (s->num_channels > 1 && get_bits1(gb)) { - av_log_ask_for_sample(s->avctx, "Unsupported postproc transform found\n"); - s->packet_loss = 1; - return 0; + if (get_bits1(gb)) { + for (i = 0; i < s->num_channels * s->num_channels; i++) + skip_bits(gb, 4); + } } /** read drc info */ |