[MPlayer-cvslog] r34336 - trunk/libmpcodecs/vd_ffmpeg.c

diego subversion at mplayerhq.hu
Wed Nov 9 02:41:44 CET 2011


Author: diego
Date: Wed Nov  9 02:41:44 2011
New Revision: 34336

Log:
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

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Wed Nov  9 02:22:02 2011	(r34335)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Wed Nov  9 02:41:44 2011	(r34336)
@@ -91,7 +91,9 @@ static int lavc_param_vstats=0;
 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;


More information about the MPlayer-cvslog mailing list