This fix introduces a small memleak
Unified · Split
| @@ -182,10 +182,11 @@ void avfilter_link_free(AVFilterLink **link) · 181 unmodified lines | ||
| 182 | 182 | |
| 183 | 183 | av_freep(&picref->audio); |
| 184 | 184 | av_freep(&picref->video); |
| 185 | − av_freep(&picref); | |
| 185 | + av_freep(&(*link)->pool->pic[i]); | |
| 186 | 186 | } |
| 187 | 187 | } |
| 188 | − av_freep(&(*link)->pool); | |
| 188 | + (*link)->pool->count = 0; | |
| 189 | +// av_freep(&(*link)->pool); | |
| 189 | 190 | } |
| 190 | 191 | av_freep(link); |
| 191 | 192 | } |