diff --git a/ffmpeg.c b/ffmpeg.c index e73b76b4d3..968d195bc1 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -1925,7 +1925,7 @@ static int poll_filters(void) ost->st->codec->frame_size); else if(ost->enc->type == AVMEDIA_TYPE_AUDIO) ret = av_buffersink_read(ost->filter->filter, &picref); - else + else ret = av_buffersink_get_buffer_ref(ost->filter->filter, &picref, AV_BUFFERSINK_FLAG_NO_REQUEST); if (ret < 0) {