summaryrefslogtreecommitdiff
path: root/libavcodec/8bps.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-11 21:48:32 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-11 21:48:32 +0200
commitd93cf093f840b9a28481c73d7e421f469f2ca4e7 (patch)
tree6159a41d2f67277f41953dd72ae349c3e2670155 /libavcodec/8bps.c
parent5e95551199871e5912c7bd498cbcc502d33113aa (diff)
parent632ad2248e2e5d8cd4b51e6c87c943a38c3da425 (diff)
downloadffmpeg-d93cf093f840b9a28481c73d7e421f469f2ca4e7.tar.gz
Merge commit '632ad2248e2e5d8cd4b51e6c87c943a38c3da425'
* commit '632ad2248e2e5d8cd4b51e6c87c943a38c3da425': lavc: Add an internal wrapper around get_format() Conflicts: libavcodec/h264_slice.c libavcodec/mpeg12dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 d01ef924c7..e00bdfc808 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