mirror of https://git.ffmpeg.org/ffmpeg.git
src_buffer: add forgotten avfilter_unref_buffer.
This commit is contained in:
parent
b72a0f9c23
commit
f1b82099cd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue