From e7082fd6ea65e0343936b2784c51e5982d6d810b Mon Sep 17 00:00:00 2001 From: Themaister Date: Wed, 2 Nov 2011 20:33:37 +0100 Subject: [PATCH] Warning nit. --- record/ffemu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/record/ffemu.c b/record/ffemu.c index bba7840bb6..f8e4625ac9 100644 --- a/record/ffemu.c +++ b/record/ffemu.c @@ -166,7 +166,9 @@ static bool init_video(struct video_info *video, const struct ffemu_params *para video->codec->sample_aspect_ratio = av_d2q(param->aspect_ratio * param->out_height / param->out_width, 255); video->codec->pix_fmt = video->pix_fmt; +#ifdef HAVE_FFMPEG_AVCODEC_OPEN2 AVDictionary *opts = NULL; +#endif #ifdef HAVE_X264RGB video->codec->thread_count = 3;