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) ...@@ -365,6 +365,7 @@ static int request_frame(AVFilterLink *link)
break; break;
case AVMEDIA_TYPE_AUDIO: case AVMEDIA_TYPE_AUDIO:
avfilter_filter_samples(link, avfilter_ref_buffer(buf, ~0)); avfilter_filter_samples(link, avfilter_ref_buffer(buf, ~0));
avfilter_unref_buffer(buf);
break; break;
default: default:
return AVERROR(ENOSYS); 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