Showing the changes to libavfilter/src_buffer.c (1 of 1 file). Show all
Unified · Split
| @@ -365,6 +365,7 @@ static int request_frame(AVFilterLink *link) · 364 unmodified lines | ||
| 365 | 365 | break; |
| 366 | 366 | case AVMEDIA_TYPE_AUDIO: |
| 367 | 367 | avfilter_filter_samples(link, avfilter_ref_buffer(buf, ~0)); |
| 368 | + avfilter_unref_buffer(buf); | |
| 368 | 369 | break; |
| 369 | 370 | default: |
| 370 | 371 | return AVERROR(ENOSYS); |