]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/8bps.c
x86/hevc_deblock: improve chroma functions register allocation
[ffmpeg] / libavcodec / 8bps.c
index d01ef924c796cae2a8221b516580c794e3b5ba78..e00bdfc808679af85560144ebb476c63d6ca0243 100644 (file)
@@ -150,7 +150,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
         c->planemap[0] = 0; // 1st plane is palette indexes
         break;
     case 24:
-        avctx->pix_fmt = avctx->get_format(avctx, pixfmt_rgb24);
+        avctx->pix_fmt = ff_get_format(avctx, pixfmt_rgb24);
         c->planes      = 3;
         c->planemap[0] = 2; // 1st plane is red
         c->planemap[1] = 1; // 2nd plane is green