[vlc-commits] Fix build with unreleased FLAC 1.3.x

Nicolas Chauvet git at videolan.org
Wed Jun 19 12:15:09 CEST 2013


vlc/vlc-2.0 | branch: master | Nicolas Chauvet <kwizart at gmail.com> | Wed Jan  2 22:44:33 2013 +0100| [7e97dfe87b852998e1ba7a438d751facc03b9180] | committer: Felix Paul Kühne

Fix build with unreleased FLAC 1.3.x

The issue was initialy reported here:
http://bugzilla.redhat.com/891123

FLAC upstream has always expected to include <FLAC/ suffix
for included headers as shown in examples/c/decode/file/main.c

The FLAC suffix will not be be made available in the flac.pc
for the next release:
http://lists.xiph.org/pipermail/flac-dev/2012-April/003355.html

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 607065b410b4768372c204ccdbbca200230fff25)

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=7e97dfe87b852998e1ba7a438d751facc03b9180
---

 modules/codec/flac.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/flac.c b/modules/codec/flac.c
index 67ece6a..d429c53 100644
--- a/modules/codec/flac.c
+++ b/modules/codec/flac.c
@@ -38,8 +38,8 @@
 #include <vlc_codec.h>
 #include <vlc_aout.h>
 
-#include <stream_decoder.h>
-#include <stream_encoder.h>
+#include <FLAC/stream_decoder.h>
+#include <FLAC/stream_encoder.h>
 
 #include <vlc_block_helper.h>
 #include <vlc_bits.h>



More information about the vlc-commits mailing list