aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wmaprodec.c
diff options
context:
space:
mode:
authorSascha Sommer <saschasommer@freenet.de>2011-01-08 15:49:29 +0000
committerSascha Sommer <saschasommer@freenet.de>2011-01-08 15:49:29 +0000
commit15a8bef0b6a5f75189fde4db2bca0842a6de91dd (patch)
treedfa8319d5b875905e93b1d56f7a42c1a1dd2f799 /libavcodec/wmaprodec.c
parentb86dd1bf6d265efe490be91b5a77aaba7a35e755 (diff)
downloadffmpeg-15a8bef0b6a5f75189fde4db2bca0842a6de91dd.tar.gz
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.c7
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 */