[FFmpeg-cvslog] avfilter/formats: remove unnecessary unreference
Zhao Zhili
git at videolan.org
Tue Oct 8 18:54:25 EEST 2019
ffmpeg | branch: master | Zhao Zhili <zhilizhao at tencent.com> | Mon Sep 30 16:00:34 2019 +0800| [971c890c056d600a636df85f9b5e4f09fb780f41] | committer: Paul B Mahol
avfilter/formats: remove unnecessary unreference
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=971c890c056d600a636df85f9b5e4f09fb780f41
---
libavfilter/formats.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavfilter/formats.c b/libavfilter/formats.c
index e6d27f45f3..33c64668a0 100644
--- a/libavfilter/formats.c
+++ b/libavfilter/formats.c
@@ -317,7 +317,6 @@ do { \
void *oldf = *f; \
\
if (!(*f) && !(*f = av_mallocz(sizeof(**f)))) { \
- unref_fn(f); \
return AVERROR(ENOMEM); \
} \
\
More information about the ffmpeg-cvslog
mailing list