1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2026-05-04 21:08:03 +02:00

avfilter/vf_morpho: fix leak by not returning too early

This commit is contained in:
Paul B Mahol
2021-10-05 20:10:26 +02:00
parent 07e4669053
commit 21979cf98e
+1 -1
View File
@@ -892,7 +892,7 @@ copy:
break;
ret = erode(&s->h[p], &s->f[p], &s->SE[p], &s->Ty[1][p]);
if (ret < 0)
return ret;
break;
difference(&s->g[p], &s->h[p]);
break;
case TOPHAT: