mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
avfilter/vf_morpho: fix leak by not returning too early
This commit is contained in:
parent
07e4669053
commit
21979cf98e
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue