src_buffer: add forgotten avfilter_unref_buffer.

This commit is contained in:
Nicolas George 2012-04-28 16:19:03 +02:00
parent b72a0f9c23
commit f1b82099cd
1 changed files with 1 additions and 0 deletions

View File

@ -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);