From 49f7b473b0446811f8e1f61ae0b88ec0e0b5328a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 9 Jan 2014 23:50:21 +0000 Subject: Remove some deprecated FFmpeg stuff. --- src/lib/ffmpeg.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/ffmpeg.cc') diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc index e5e5f317a..d3653e311 100644 --- a/src/lib/ffmpeg.cc +++ b/src/lib/ffmpeg.cc @@ -62,7 +62,7 @@ FFmpeg::~FFmpeg () } } - avcodec_free_frame (&_frame); + av_frame_free (&_frame); avformat_close_input (&_format_context); } @@ -136,7 +136,7 @@ FFmpeg::setup_general () } } - _frame = avcodec_alloc_frame (); + _frame = av_frame_alloc (); if (_frame == 0) { throw DecodeError (N_("could not allocate frame")); } -- cgit v1.2.3