]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/takdec.c
Merge commit '6151e9128ce2a84a443c82b78f5b5cb364ba2ab4'
[ffmpeg] / libavcodec / takdec.c
index 42939b40580aa42bf9c0106cc66cf99053b175f0..31d703135a527190b4a7cc5d490540c592454c33 100644 (file)
@@ -904,7 +904,7 @@ static int tak_decode_frame(AVCodecContext *avctx, void *data,
         for (chan = 0; chan < avctx->channels; chan++) {
             int32_t *samples = (int32_t *)frame->extended_data[chan];
             for (i = 0; i < s->nb_samples; i++)
-                samples[i] <<= 8;
+                samples[i] *= 1 << 8;
         }
         break;
     }