summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
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 67dcb9ae0a..104d57e5b8 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1777,7 +1777,7 @@ static int output_packet(AVInputStream *ist, int ist_index,
frame_available = (ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO) &&
ist->out_video_filter && avfilter_poll_frame(ist->out_video_filter->inputs[0]);
if(ist->picref)
- avfilter_unref_pic(ist->picref);
+ avfilter_unref_buffer(ist->picref);
}
#endif
av_free(buffer_to_free);