]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/tta.c
cabac: Mark ff_h264_mps_state array as static, it is only used within cabac.c.
[ffmpeg] / libavcodec / tta.c
index 7ec5435a06a594c77ba5861bcd157d3aa0431848..bc83bfdf1d3ba96999292694e8b3539bbac913a4 100644 (file)
@@ -314,7 +314,7 @@ static int tta_decode_frame(AVCodecContext *avctx, void *data,
 
     // decode directly to output buffer for 24-bit sample format
     if (s->bps == 3)
-        s->decode_buffer = data;
+        s->decode_buffer = s->frame.data[0];
 
     // init per channel states
     for (i = 0; i < s->channels; i++) {