2017-03-27 9:51 GMT+02:00 Clément Bœsch <u...@pkh.me>: > --- > libavcodec/avcodec.h | 5 +++++ > libavcodec/version.h | 3 +++ > 2 files changed, 8 insertions(+) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index 4f3303366f..5c891b531a 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_4cc2str(). > */ > +attribute_deprecated > size_t av_get_codec_tag_string(char *buf, size_t buf_size, unsigned int > codec_tag); > +#endif
Sorry if I missed it: Please explain what the problem is with the current code. Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel