aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-05-05 09:33:55 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-05-06 16:14:34 +0200
commitba7395aace902d14d584a2171b728ebe901b3322 (patch)
treee55d66ed0cdb568f1ac2fbeb8b37b48597cef477 /ffmpeg.c
parent6ec1e0fed9749d7f49a97ac9c0566e0d29a01bb0 (diff)
downloadffmpeg-ba7395aace902d14d584a2171b728ebe901b3322.tar.gz
ffmpeg: replace av_vsrc_buffer_add_frame by av_buffersrc_add_frame.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 0b011ffb4f..1054d8290d 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2662,7 +2662,7 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int
AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT |
AV_BUFFERSRC_FLAG_NO_COPY);
} else
- if(av_vsrc_buffer_add_frame(ist->filters[i]->filter, decoded_frame,AV_VSRC_BUF_FLAG_OVERWRITE)<0) {
+ if(av_buffersrc_add_frame(ist->filters[i]->filter, decoded_frame, 0)<0) {
av_log(NULL, AV_LOG_FATAL, "Failed to inject frame into filter network\n");
exit_program(1);
}