]> git.sesse.net Git - vlc/commitdiff
Protected encoder_sys_t definition with ENABLE_SOUT.
authorSteinar Gunderson <sgunderson@bigfoot.com>
Mon, 27 Sep 2010 11:17:13 +0000 (13:17 +0200)
committerSteinar Gunderson <sgunderson@bigfoot.com>
Mon, 27 Sep 2010 11:17:13 +0000 (13:17 +0200)
modules/codec/lpcm.c

index 32346f1d0ebe626362aeb7c80801f419221aa960..4d1eb04f13c45733f0a64ca211661a5d26c41e8a 100644 (file)
@@ -93,6 +93,7 @@ struct decoder_sys_t
     int      i_type;
 };
 
+#ifdef ENABLE_SOUT
 struct encoder_sys_t
 {
     int     i_channels;
@@ -103,6 +104,7 @@ struct encoder_sys_t
     int     i_buffer_used;
     int     i_frame_num;
 };
+#endif
 
 /*
  * LPCM DVD header :