lavc: Add an internal wrapper around get_format()
It will be useful in the following commits.
This commit is contained in:

committed by
Luca Barbato

parent
9880a0d4b1
commit
632ad2248e
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user