]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ra144dec.c
avcodec/pngdec: Clean up on av_frame_ref() failure
[ffmpeg] / libavcodec / ra144dec.c
index 3eed17c0dae75eaa1e6d4e6bc095ff6d9c206e41..c716c32e67f440f12320438c93a326c27388ce0d 100644 (file)
@@ -113,7 +113,7 @@ static int ra144_decode_frame(AVCodecContext * avctx, void *data,
         do_output_subblock(ractx, block_coefs[i], refl_rms[i], &gb);
 
         for (j=0; j < BLOCKSIZE; j++)
-            *samples++ = av_clip_int16(ractx->curr_sblock[j + 10] << 2);
+            *samples++ = av_clip_int16(ractx->curr_sblock[j + 10] * (1 << 2));
     }
 
     ractx->old_energy = energy;