diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-03-06 17:48:18 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-05-11 14:59:07 +0200 |
commit | 632ad2248e2e5d8cd4b51e6c87c943a38c3da425 (patch) | |
tree | 13cdd759788553bd29577d23a44eedf0654ab99b /libavcodec/utils.c | |
parent | 9880a0d4b131ef36694d62f78060350a81f08b80 (diff) | |
download | ffmpeg-632ad2248e2e5d8cd4b51e6c87c943a38c3da425.tar.gz |
lavc: Add an internal wrapper around get_format()
It will be useful in the following commits.
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index f14d1ebe3d..c6d793ba60 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -864,6 +864,11 @@ enum AVPixelFormat avcodec_default_get_format(struct AVCodecContext *s, const en return fmt[0]; } +int ff_get_format(AVCodecContext *avctx, const enum AVPixelFormat *fmt) +{ + return avctx->get_format(avctx, fmt); +} + #if FF_API_AVFRAME_LAVC void avcodec_get_frame_defaults(AVFrame *frame) { |