[SCM] libav/experimental: increase maximum compressed frame size fixes playback of piece.wmv

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:52:31 UTC 2013


The following commit has been merged in the experimental branch:
commit aac4b0a47ed8a44c01b962ed391620dd84368f06
Author: Sascha Sommer <saschasommer at freenet.de>
Date:   Sat Oct 3 10:01:23 2009 +0000

    increase maximum compressed frame size
    fixes playback of piece.wmv
    
    Originally committed as revision 20155 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c
index 36fb08a..4d16c7f 100644
--- a/libavcodec/wmaprodec.c
+++ b/libavcodec/wmaprodec.c
@@ -98,7 +98,7 @@
 #define WMAPRO_MAX_CHANNELS    8                             ///< max number of handled channels
 #define MAX_SUBFRAMES  32                                    ///< max number of subframes per channel
 #define MAX_BANDS      29                                    ///< max number of scale factor bands
-#define MAX_FRAMESIZE  16384                                 ///< maximum compressed frame size
+#define MAX_FRAMESIZE  32768                                 ///< maximum compressed frame size
 
 #define WMAPRO_BLOCK_MAX_BITS 12                                           ///< log2 of max block size
 #define WMAPRO_BLOCK_MAX_SIZE (1 << WMAPRO_BLOCK_MAX_BITS)                 ///< maximum block size

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list