diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2015-11-26 18:10:54 +0300 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-12-05 15:12:27 +0300 |
commit | f7edcac040f73635fc1127489c9bb29ca8b43532 (patch) | |
tree | 8c0358b0317466b27a97fc1c0c6b6f27a6b56194 /libavcodec/avpicture.c | |
parent | b805482b1fba1d82fbe47023a24c9261f18979b6 (diff) |
avpicture: Suppress warning from deprecated code
Diffstat (limited to 'libavcodec/avpicture.c')
-rw-r--r-- | libavcodec/avpicture.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/avpicture.c b/libavcodec/avpicture.c index eaa5c2614e..786d740abd 100644 --- a/libavcodec/avpicture.c +++ b/libavcodec/avpicture.c @@ -29,9 +29,11 @@ #include "libavutil/common.h" #include "libavutil/pixdesc.h" #include "libavutil/imgutils.h" +#include "libavutil/internal.h" #include "libavutil/colorspace.h" #if FF_API_AVPICTURE +FF_DISABLE_DEPRECATION_WARNINGS int avpicture_fill(AVPicture *picture, uint8_t *ptr, enum AVPixelFormat pix_fmt, int width, int height) { @@ -77,4 +79,5 @@ void av_picture_copy(AVPicture *dst, const AVPicture *src, av_image_copy(dst->data, dst->linesize, src->data, src->linesize, pix_fmt, width, height); } +FF_ENABLE_DEPRECATION_WARNINGS #endif /* FF_API_AVPICTURE */ |