From 7ae2b7b659c2064d9f09cafb937f4ebf82b65d80 Mon Sep 17 00:00:00 2001 From: niels Date: Tue, 23 Dec 2014 01:26:50 +0100 Subject: [PATCH] fix compile error due to warning cleanup --- veejay-current/veejay-server/libel/lav_io.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/veejay-current/veejay-server/libel/lav_io.c b/veejay-current/veejay-server/libel/lav_io.c index db7a7cb8..741c67e8 100644 --- a/veejay-current/veejay-server/libel/lav_io.c +++ b/veejay-current/veejay-server/libel/lav_io.c @@ -683,7 +683,9 @@ int lav_write_audio(lav_file_t *lav_file, uint8_t *buff, long samps) int i, j; int16_t *qt_audio = (int16_t *)buff, **qt_audion; int channels = lav_audio_channels(lav_file); - +#ifdef HAVE_LIBQUICKTIME + int res=0; +#endif qt_audion = malloc(channels * sizeof (int16_t **)); for (i = 0; i < channels; i++) qt_audion[i] = (int16_t *)malloc(samps * lav_file->bps);