]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/alsdec.c
libschroedingerenc: switch to encode2().
[ffmpeg] / libavcodec / alsdec.c
index 2948a48b5cebdfbd5cfca4e755c939db28f9ceba..bdc0be193431af8fa3cb4b909bd158d819dbd52b 100644 (file)
@@ -1011,7 +1011,7 @@ static void zero_remaining(unsigned int b, unsigned int b_max,
 {
     unsigned int count = 0;
 
-    while (b < b_max)
+    for (; b < b_max; b++)
         count += div_blocks[b];
 
     if (count)
@@ -1724,7 +1724,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
         }
     }
 
-    dsputil_init(&ctx->dsp, avctx);
+    ff_dsputil_init(&ctx->dsp, avctx);
 
     avcodec_get_frame_defaults(&ctx->frame);
     avctx->coded_frame = &ctx->frame;