diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-08-19 19:02:31 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-08-20 23:45:15 +0200 |
commit | dcae2ecc13eee63014d904d125dcc6e3d76934bd (patch) | |
tree | 9d420bc533c170534ab3fda5f2086972900b7cb0 /ffmpeg.c | |
parent | 5bbe4142d151fd936439518a3970bb5391511070 (diff) | |
download | ffmpeg-dcae2ecc13eee63014d904d125dcc6e3d76934bd.tar.gz |
ffmpeg: remove useless flags to EOF av_buffersrc_add_ref.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; } |