diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-04-20 19:19:25 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-04-21 13:49:32 +0200 |
commit | 0de99ab06f707e71a3c3bb30083d1cc324ba9c26 (patch) | |
tree | 7a312b333c570ef15f2d63cc608f5dce559e2801 /libavcodec/utils.c | |
parent | 9f36ea57ae6eefb42432220feab0350494f4144c (diff) | |
download | ffmpeg-streaming-0de99ab06f707e71a3c3bb30083d1cc324ba9c26.zip ffmpeg-streaming-0de99ab06f707e71a3c3bb30083d1cc324ba9c26.tar.gz |
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>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 44843a4..9766bb0 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1160,6 +1160,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)); |