From 88e187267df754a99dba3222a94e01362986f720 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 10 Dec 2012 20:50:22 +0000 Subject: [PATCH] Oops in previous. --- src/lib/ffmpeg_decoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index 748fb9d7e..ef9c05fa6 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -154,7 +154,7 @@ FFmpegDecoder::setup_video () throw DecodeError ("could not find video decoder"); } - if (avcodec_open2 (_video_codec_context, _video_codec, &opts) < 0) { + if (avcodec_open2 (_video_codec_context, _video_codec, 0) < 0) { throw DecodeError ("could not open video decoder"); } } -- 2.30.2