diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-03-06 20:48:18 +0400 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-05-11 16:59:07 +0400 |
commit | 632ad2248e2e5d8cd4b51e6c87c943a38c3da425 (patch) | |
tree | 13cdd759788553bd29577d23a44eedf0654ab99b /libavcodec/mpeg12dec.c | |
parent | 9880a0d4b131ef36694d62f78060350a81f08b80 (diff) |
lavc: Add an internal wrapper around get_format()
It will be useful in the following commits.
Diffstat (limited to 'libavcodec/mpeg12dec.c')
-rw-r--r-- | libavcodec/mpeg12dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c index 97c82ceeda..c2cafe5f23 100644 --- a/libavcodec/mpeg12dec.c +++ b/libavcodec/mpeg12dec.c @@ -1188,12 +1188,12 @@ static enum AVPixelFormat mpeg_get_pixelformat(AVCodecContext *avctx) #if FF_API_XVMC FF_DISABLE_DEPRECATION_WARNINGS if (avctx->xvmc_acceleration) - return avctx->get_format(avctx, pixfmt_xvmc_mpg2_420); + return ff_get_format(avctx, pixfmt_xvmc_mpg2_420); FF_ENABLE_DEPRECATION_WARNINGS #endif /* FF_API_XVMC */ if (s->chroma_format < 2) - return avctx->get_format(avctx, mpeg12_hwaccel_pixfmt_list_420); + return ff_get_format(avctx, mpeg12_hwaccel_pixfmt_list_420); else if (s->chroma_format == 2) return AV_PIX_FMT_YUV422P; else |