From dcae2ecc13eee63014d904d125dcc6e3d76934bd Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Sun, 19 Aug 2012 19:02:31 +0200 Subject: ffmpeg: remove useless flags to EOF av_buffersrc_add_ref. --- ffmpeg.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index bf78a60f9e..b50b160d59 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -1419,8 +1419,7 @@ static int decode_audio(InputStream *ist, AVPacket *pkt, int *got_output) if (!*got_output || ret < 0) { if (!pkt->size) { for (i = 0; i < ist->nb_filters; i++) - av_buffersrc_add_ref(ist->filters[i]->filter, NULL, - AV_BUFFERSRC_FLAG_NO_COPY); + av_buffersrc_add_ref(ist->filters[i]->filter, NULL, 0); } return ret; } @@ -1539,7 +1538,7 @@ static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output) if (!*got_output || ret < 0) { if (!pkt->size) { for (i = 0; i < ist->nb_filters; i++) - av_buffersrc_add_ref(ist->filters[i]->filter, NULL, AV_BUFFERSRC_FLAG_NO_COPY); + av_buffersrc_add_ref(ist->filters[i]->filter, NULL, 0); } return ret; } -- cgit v1.2.3