changeset 34248:a52c5ff01dcd

vd_ffmpeg: Conditionally declare lavc_param_wait_keyframe to fix warning. libmpcodecs/vd_ffmpeg.c:95: warning: 'lavc_param_wait_keyframe' defined but not used
author diego
date Wed, 09 Nov 2011 01:41:44 +0000
parents 1c35122fba8c
children edee96cf6d71
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Wed Nov 09 01:22:02 2011 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Wed Nov 09 01:41:44 2011 +0000
@@ -91,7 +91,9 @@
 static int lavc_param_idct_algo=0;
 static int lavc_param_debug=0;
 static int lavc_param_vismv=0;
+#ifdef CODEC_FLAG2_SHOW_ALL
 static int lavc_param_wait_keyframe=0;
+#endif
 static int lavc_param_skip_top=0;
 static int lavc_param_skip_bottom=0;
 static int lavc_param_fast=0;