1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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

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