mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-30 22:50:48 +00:00
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>
This commit is contained in:
commit
be74cb5159
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user