Oops in previous.
authorCarl Hetherington <cth@carlh.net>
Mon, 10 Dec 2012 20:50:22 +0000 (20:50 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 10 Dec 2012 20:50:22 +0000 (20:50 +0000)
src/lib/ffmpeg_decoder.cc

index 748fb9d7e8016363e8ed03ac5ac177b539017dc3..ef9c05fa6e14b200a77b22092d7dc9991f55fdbb 100644 (file)
@@ -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");
        }
 }