summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-12-10 20:50:22 +0000
committerCarl Hetherington <cth@carlh.net>2012-12-10 20:50:22 +0000
commit88e187267df754a99dba3222a94e01362986f720 (patch)
tree85035659e157232a863e3c4a2ef9ffdaab139ae5 /src/lib/ffmpeg_decoder.cc
parenta605b22381ee47d2737307e0b61e3423b020547b (diff)
Oops in previous.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
-rw-r--r--src/lib/ffmpeg_decoder.cc2
1 files changed, 1 insertions, 1 deletions
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");
}
}