[FFmpeg-cvslog] r26268 - trunk/libavcodec/wmaprodec.c
faust3
subversion
Sat Jan 8 16:49:29 CET 2011
Author: faust3
Date: Sat Jan 8 16:49:29 2011
New Revision: 26268
Log:
skip unsupported postproc information
Modified:
trunk/libavcodec/wmaprodec.c
Modified: trunk/libavcodec/wmaprodec.c
==============================================================================
--- trunk/libavcodec/wmaprodec.c Sat Jan 8 16:38:14 2011 (r26267)
+++ trunk/libavcodec/wmaprodec.c Sat Jan 8 16:49:29 2011 (r26268)
@@ -1290,9 +1290,10 @@ static int decode_frame(WMAProDecodeCtx
/** 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 */
More information about the ffmpeg-cvslog
mailing list