diff options
author | James Almer <jamrial@gmail.com> | 2020-10-01 22:43:28 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-10-01 22:43:28 -0300 |
commit | 137a36bdfc5cc250e767a5d96e77621cc4dc59d5 (patch) | |
tree | bbdec809f69daef9a110ae69f0ab746c49c81627 /libavcodec/utils.c | |
parent | 0191f2d29c2a62b8699ac75f09708187e943814c (diff) | |
download | ffmpeg-137a36bdfc5cc250e767a5d96e77621cc4dc59d5.tar.gz |
avcodec/utils: add missing FF_API_TAG_STRING check
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index af2a4c2a88..a43474d437 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1217,6 +1217,7 @@ const char *avcodec_get_name(enum AVCodecID id) return "unknown_codec"; } +#if FF_API_TAG_STRING size_t av_get_codec_tag_string(char *buf, size_t buf_size, unsigned int codec_tag) { int i, len, ret = 0; @@ -1236,6 +1237,7 @@ size_t av_get_codec_tag_string(char *buf, size_t buf_size, unsigned int codec_ta } return ret; } +#endif void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode) { |