diff options
Diffstat (limited to 'libavcodec/8bps.c')
-rw-r--r-- | libavcodec/8bps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/8bps.c b/libavcodec/8bps.c index cfeb4867d1..3fd15e05eb 100644 --- a/libavcodec/8bps.c +++ b/libavcodec/8bps.c @@ -159,7 +159,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 |