X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2F8bps.c;h=e00bdfc808679af85560144ebb476c63d6ca0243;hb=7538ad22483597ede7c5dad452896762277c3f4f;hp=d01ef924c796cae2a8221b516580c794e3b5ba78;hpb=039630631e96cc04d09101acf71756174ce00dad;p=ffmpeg diff --git a/libavcodec/8bps.c b/libavcodec/8bps.c index d01ef924c79..e00bdfc8086 100644 --- a/libavcodec/8bps.c +++ b/libavcodec/8bps.c @@ -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