]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ra288.c
imgconvert: fix 2 "discards const qualifier from pointer target type"
[ffmpeg] / libavcodec / ra288.c
index cefc99c685dea606ba9473f9b92ce319bdb0e316..7f0e2f71a84187f12ee6c6dccad33a6a5d3ba2a3 100644 (file)
@@ -22,6 +22,7 @@
 #include "libavutil/channel_layout.h"
 #include "libavutil/float_dsp.h"
 #include "avcodec.h"
+#include "internal.h"
 #define BITSTREAM_READER_LE
 #include "get_bits.h"
 #include "ra288.h"
@@ -200,7 +201,7 @@ static int ra288_decode_frame(AVCodecContext * avctx, void *data,
 
     /* get output buffer */
     ractx->frame.nb_samples = RA288_BLOCK_SIZE * RA288_BLOCKS_PER_FRAME;
-    if ((ret = avctx->get_buffer(avctx, &ractx->frame)) < 0) {
+    if ((ret = ff_get_buffer(avctx, &ractx->frame)) < 0) {
         av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
         return ret;
     }