[FFmpeg-devel] [PATCH] avfilter/formats: remove unnecessary unreference
Paul B Mahol
onemda at gmail.com
Tue Oct 8 18:55:02 EEST 2019
applied
On 9/30/19, quinkblack at foxmail.com <quinkblack at foxmail.com> wrote:
> From: Zhao Zhili <zhilizhao at tencent.com>
>
> ---
> libavfilter/formats.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/libavfilter/formats.c b/libavfilter/formats.c
> index 31ee445c49..15c3adf80b 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); \
> } \
> \
> --
> 2.22.0
>
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list