[FFmpeg-devel] [PATCH] isom: fix redundant redeclaration of ff_mov_read_chan().

Clément Bœsch ubitux at gmail.com
Sun Sep 30 21:03:53 CEST 2012


Silence a GCC warning. A leftover of the disabled version is still
available in lavf/isom.c.
---
 libavformat/aiffdec.c | 1 +
 libavformat/isom.h    | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/aiffdec.c b/libavformat/aiffdec.c
index 41fe0d2..2c2b693 100644
--- a/libavformat/aiffdec.c
+++ b/libavformat/aiffdec.c
@@ -28,6 +28,7 @@
 #include "aiff.h"
 #include "isom.h"
 #include "id3v2.h"
+#include "mov_chan.h"
 
 #define AIFF                    0
 #define AIFF_C_VERSION1         0xA2805140
diff --git a/libavformat/isom.h b/libavformat/isom.h
index 875c3a9..06bfbd0 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -204,7 +204,6 @@ int ff_mov_read_esds(AVFormatContext *fc, AVIOContext *pb, MOVAtom atom);
 enum AVCodecID ff_mov_get_lpcm_codec_id(int bps, int flags);
 
 int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries);
-int ff_mov_read_chan(AVFormatContext *s, AVIOContext *pb, AVStream *st, int64_t size);
 void ff_mov_write_chan(AVIOContext *pb, int64_t channel_layout);
 
 #endif /* AVFORMAT_ISOM_H */
-- 
1.7.12.1



More information about the ffmpeg-devel mailing list