lavc: Add an internal wrapper around get_format()
It will be useful in the following commits.
This commit is contained in:
parent
9880a0d4b1
commit
632ad2248e
7 changed files with 22 additions and 10 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue