[FFmpeg-cvslog] r26267 - trunk/libavcodec/wmaprodec.c

faust3 subversion
Sat Jan 8 16:38:14 CET 2011


Author: faust3
Date: Sat Jan  8 16:38:14 2011
New Revision: 26267

Log:
add support for files that do not allow more than 4 subframes

Modified:
   trunk/libavcodec/wmaprodec.c

Modified: trunk/libavcodec/wmaprodec.c
==============================================================================
--- trunk/libavcodec/wmaprodec.c	Sat Jan  8 16:35:56 2011	(r26266)
+++ trunk/libavcodec/wmaprodec.c	Sat Jan  8 16:38:14 2011	(r26267)
@@ -311,7 +311,7 @@ static av_cold int decode_init(AVCodecCo
     /** subframe info */
     log2_max_num_subframes       = ((s->decode_flags & 0x38) >> 3);
     s->max_num_subframes         = 1 << log2_max_num_subframes;
-    if (s->max_num_subframes == 16)
+    if (s->max_num_subframes == 16 || s->max_num_subframes == 4)
         s->max_subframe_len_bit = 1;
     s->subframe_len_bits = av_log2(log2_max_num_subframes) + 1;
 



More information about the ffmpeg-cvslog mailing list