diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-03-27 18:36:51 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-08-02 19:19:02 +0200 |
commit | 7950e519bb094897f957b9a9531cc60ba46cbc91 (patch) | |
tree | b8bcd2acc2a699c2c219e690d439a3f3eb0a6a44 /libavutil | |
parent | 3a7050ffed5ce061b114a11e4de4b77aba8efa0b (diff) | |
download | ffmpeg-7950e519bb094897f957b9a9531cc60ba46cbc91.tar.gz |
Disable deprecation warnings for cases where a replacement is available
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/pixdesc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 1614531b91..fa83dddd4a 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -25,7 +25,7 @@ #include "common.h" #include "pixfmt.h" #include "pixdesc.h" - +#include "internal.h" #include "intreadwrite.h" void av_read_image_line(uint16_t *dst, @@ -1392,6 +1392,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { }, }; +FF_DISABLE_DEPRECATION_WARNINGS static enum AVPixelFormat get_pix_fmt_internal(const char *name) { enum AVPixelFormat pix_fmt; @@ -1486,6 +1487,7 @@ enum AVPixelFormat av_pix_fmt_desc_get_id(const AVPixFmtDescriptor *desc) return desc - av_pix_fmt_descriptors; } +FF_ENABLE_DEPRECATION_WARNINGS int av_pix_fmt_get_chroma_sub_sample(enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift) |