diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-27 01:11:41 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-29 14:49:29 +0200 |
commit | f156d35321bb600b2309b78185d600b2fa64d84a (patch) | |
tree | 12a9fdf38c1fd8c6f630a70a809e22a2e6f41529 /libavcodec/avcodec.h | |
parent | bfdcdd6d829c13eb019c194e214db0ec7dcf76cd (diff) | |
download | ffmpeg-f156d35321bb600b2309b78185d600b2fa64d84a.tar.gz |
lavc: deprecate av_get_codec_tag_string()
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 4f3303366f..60f7acefbd 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -5667,6 +5667,7 @@ attribute_deprecated void avcodec_set_dimensions(AVCodecContext *s, int width, int height); #endif +#if FF_API_TAG_STRING /** * Put a string representing the codec tag codec_tag in buf. * @@ -5675,8 +5676,12 @@ void avcodec_set_dimensions(AVCodecContext *s, int width, int height); * @param codec_tag codec tag to assign * @return the length of the string that would have been generated if * enough space had been available, excluding the trailing null + * + * @deprecated see av_fourcc_make_string() and av_fourcc2str(). */ +attribute_deprecated size_t av_get_codec_tag_string(char *buf, size_t buf_size, unsigned int codec_tag); +#endif void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode); |