summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-09 23:50:21 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-09 23:50:21 +0000
commit49f7b473b0446811f8e1f61ae0b88ec0e0b5328a (patch)
tree53a028171c067e087a3360a1bb1710785a796fe4 /src/lib/ffmpeg.cc
parente28def57ff4591f02ca3585a506ea58fbeba5d46 (diff)
Remove some deprecated FFmpeg stuff.
Diffstat (limited to 'src/lib/ffmpeg.cc')
-rw-r--r--src/lib/ffmpeg.cc4
1 files changed, 2 insertions, 2 deletions
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"));
}