]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/wmaprodec.c
avformat: remove avio_flush() calls from the end of write_packet functions
[ffmpeg] / libavcodec / wmaprodec.c
index 91a47aeb41ae2d59bd600264561a02badf131472..cbf5fa7fd55e52b1c76583f86c41721e9d3b15a4 100644 (file)
@@ -544,7 +544,7 @@ static av_cold int decode_init(WMAProDecodeCtx *s, AVCodecContext *avctx, int nu
     for (i = 0; i < WMAPRO_BLOCK_SIZES; i++)
         ff_mdct_init(&s->mdct_ctx[i], WMAPRO_BLOCK_MIN_BITS+1+i, 1,
                      1.0 / (1 << (WMAPRO_BLOCK_MIN_BITS + i - 1))
-                     / (1 << (s->bits_per_sample - 1)));
+                     / (1ll << (s->bits_per_sample - 1)));
 
     /** init MDCT windows: simple sine window */
     for (i = 0; i < WMAPRO_BLOCK_SIZES; i++) {