aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/8bps.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-03-06 17:48:18 +0100
committerLuca Barbato <lu_zero@gentoo.org>2014-05-11 14:59:07 +0200
commit632ad2248e2e5d8cd4b51e6c87c943a38c3da425 (patch)
tree13cdd759788553bd29577d23a44eedf0654ab99b /libavcodec/8bps.c
parent9880a0d4b131ef36694d62f78060350a81f08b80 (diff)
downloadffmpeg-632ad2248e2e5d8cd4b51e6c87c943a38c3da425.tar.gz
lavc: Add an internal wrapper around get_format()
It will be useful in the following commits.
Diffstat (limited to 'libavcodec/8bps.c')
-rw-r--r--libavcodec/8bps.c2
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