diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-28 02:39:20 +0200 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-05-28 09:44:18 -0400 |
commit | 8f653e28f54d6629c22a7135dff4c32dfc95acda (patch) | |
tree | 23567cae986d63c9e91f6bae94922658b616daac /libavcodec/version.h | |
parent | 26513856d657de3b3afacae7c13fd99a7fe79d05 (diff) | |
download | ffmpeg-8f653e28f54d6629c22a7135dff4c32dfc95acda.tar.gz |
lavu: add av_get_pix_fmt_name() convenience function
Also deprecate avcodec_get_pix_fmt_name() in its favor.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/version.h')
-rw-r--r-- | libavcodec/version.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/version.h b/libavcodec/version.h index 894188b093..aded68e83e 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -65,5 +65,8 @@ #ifndef FF_API_FLAC_GLOBAL_OPTS #define FF_API_FLAC_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54) #endif +#ifndef FF_API_GET_PIX_FMT_NAME +#define FF_API_GET_PIX_FMT_NAME (LIBAVCODEC_VERSION_MAJOR < 54) +#endif #endif /* AVCODEC_VERSION_H */ |