diff options
author | Sascha Sommer <saschasommer@freenet.de> | 2011-01-08 18:49:29 +0300 |
---|---|---|
committer | Sascha Sommer <saschasommer@freenet.de> | 2011-01-08 18:49:29 +0300 |
commit | 15a8bef0b6a5f75189fde4db2bca0842a6de91dd (patch) | |
tree | dfa8319d5b875905e93b1d56f7a42c1a1dd2f799 /libavcodec/wmaprodec.c | |
parent | b86dd1bf6d265efe490be91b5a77aaba7a35e755 (diff) |
skip unsupported postproc information
Originally committed as revision 26268 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wmaprodec.c')
-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 */ |