diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-05 12:17:35 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-05 12:17:35 +0100 |
commit | be74cb5159ef7f47c400be23c56cdbf6334b6d3e (patch) | |
tree | 28e8e85da75739ecf45bf0ba8aa95638b204bcf1 /libavfilter/buffer.c | |
parent | 6a7de2361b94cef914f397314103c67165bdff53 (diff) | |
parent | 7d1a68e95baf232e1c3ee93ee3285f4b309d77ce (diff) | |
download | ffmpeg-be74cb5159ef7f47c400be23c56cdbf6334b6d3e.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
avfilter/buffer: Suppress deprecation warning for avfilter_unref_buffer
Conflicts:
libavfilter/buffer.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/buffer.c')
-rw-r--r-- | libavfilter/buffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/buffer.c b/libavfilter/buffer.c index 1bbfab8024..a62618440b 100644 --- a/libavfilter/buffer.c +++ b/libavfilter/buffer.c @@ -24,6 +24,7 @@ #include "libavutil/avassert.h" #include "libavutil/common.h" #include "libavutil/imgutils.h" +#include "libavutil/internal.h" #include "libavcodec/avcodec.h" #include "avfilter.h" @@ -113,7 +114,9 @@ void avfilter_unref_buffer(AVFilterBufferRef *ref) void avfilter_unref_bufferp(AVFilterBufferRef **ref) { +FF_DISABLE_DEPRECATION_WARNINGS avfilter_unref_buffer(*ref); +FF_ENABLE_DEPRECATION_WARNINGS *ref = NULL; } |