summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-08-19 19:02:31 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-08-20 23:45:15 +0200
commitdcae2ecc13eee63014d904d125dcc6e3d76934bd (patch)
tree9d420bc533c170534ab3fda5f2086972900b7cb0 /ffmpeg.c
parent5bbe4142d151fd936439518a3970bb5391511070 (diff)
ffmpeg: remove useless flags to EOF av_buffersrc_add_ref.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c5
1 files changed, 2 insertions, 3 deletions
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;
}