From 661c20f5694da6ff372c7819c1b6cb828bb66962 Mon Sep 17 00:00:00 2001 From: Steinar Gunderson Date: Mon, 27 Sep 2010 13:17:13 +0200 Subject: [PATCH] Protected encoder_sys_t definition with ENABLE_SOUT. --- modules/codec/lpcm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/codec/lpcm.c b/modules/codec/lpcm.c index 32346f1d0e..4d1eb04f13 100644 --- a/modules/codec/lpcm.c +++ b/modules/codec/lpcm.c @@ -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 : -- 2.39.2