Commit f1b82099 authored by Nicolas George's avatar Nicolas George

src_buffer: add forgotten avfilter_unref_buffer.

parent b72a0f9c
......@@ -365,6 +365,7 @@ static int request_frame(AVFilterLink *link)
break;
case AVMEDIA_TYPE_AUDIO:
avfilter_filter_samples(link, avfilter_ref_buffer(buf, ~0));
avfilter_unref_buffer(buf);
break;
default:
return AVERROR(ENOSYS);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment