summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-30 16:46:21 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-30 16:46:21 +0100
commit65cd9738e069023ae00d84b46d8eac74b016895c (patch)
tree0bcf3e35fff347632247e273238bf5b801cc312b /src/lib
parent32b21d67ae5b87c5840dd0f642840aa2e245a6ed (diff)
Fix reffing of the AVFrame output by the decoder.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/filter_graph.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/filter_graph.cc b/src/lib/filter_graph.cc
index 47f99da14..f0c49b37c 100644
--- a/src/lib/filter_graph.cc
+++ b/src/lib/filter_graph.cc
@@ -134,7 +134,7 @@ FilterGraph::process (AVFrame* frame)
{
list<shared_ptr<Image> > images;
- if (av_buffersrc_add_frame (_buffer_src_context, frame) < 0) {
+ if (av_buffersrc_write_frame (_buffer_src_context, frame) < 0) {
throw DecodeError (N_("could not push buffer into filter chain."));
}