mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-20 22:10:07 +01:00
avcodec: Add avpriv_codec_get_cap_skip_frame_fill_param()
With this the use of the caps_internal from libavformat can be avoided Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -1126,6 +1126,10 @@ int av_codec_get_max_lowres(const AVCodec *codec)
|
||||
return codec->max_lowres;
|
||||
}
|
||||
|
||||
int avpriv_codec_get_cap_skip_frame_fill_param(const AVCodec *codec){
|
||||
return !!(codec->caps_internal & FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM);
|
||||
}
|
||||
|
||||
static void get_subtitle_defaults(AVSubtitle *sub)
|
||||
{
|
||||
memset(sub, 0, sizeof(*sub));
|
||||
|
||||
Reference in New Issue
Block a user