avfilter/formats: remove unnecessary unreference

This commit is contained in:
Zhao Zhili 2019-09-30 16:00:34 +08:00 committed by Paul B Mahol
parent dd9e6d077e
commit 971c890c05

View File

@ -317,7 +317,6 @@ do { \
void *oldf = *f; \
\
if (!(*f) && !(*f = av_mallocz(sizeof(**f)))) { \
unref_fn(f); \
return AVERROR(ENOMEM); \
} \
\