avfilter/formats: remove unnecessary unreference
This commit is contained in:
@@ -317,7 +317,6 @@ do { \
|
|||||||
void *oldf = *f; \
|
void *oldf = *f; \
|
||||||
\
|
\
|
||||||
if (!(*f) && !(*f = av_mallocz(sizeof(**f)))) { \
|
if (!(*f) && !(*f = av_mallocz(sizeof(**f)))) { \
|
||||||
unref_fn(f); \
|
|
||||||
return AVERROR(ENOMEM); \
|
return AVERROR(ENOMEM); \
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
|
Reference in New Issue
Block a user