changeset 21995:f615c862f862

Remove ff_gcd prototype and include avutil.h instead where it is defined.
author reimar
date Thu, 25 Jan 2007 10:49:43 +0000
parents e1c2963553f3
children 05d024607a60
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c	Thu Jan 25 10:18:21 2007 +0000
+++ b/libmpdemux/demux_lavf.c	Thu Jan 25 10:49:43 2007 +0000
@@ -32,9 +32,11 @@
 
 #ifdef USE_LIBAVFORMAT_SO
 #include <ffmpeg/avformat.h>
+#include <ffmpeg/avutil.h>
 #include <ffmpeg/opt.h>
 #else
 #include "avformat.h"
+#include "avutil.h"
 #include "avi.h"
 #include "opt.h"
 #endif
@@ -65,8 +67,6 @@
 extern void print_wave_header(WAVEFORMATEX *h, int verbose_level);
 extern void print_video_header(BITMAPINFOHEADER *h, int verbose_level);
 
-int64_t ff_gcd(int64_t a, int64_t b);
-
 static const AVCodecTag mp_wav_tags[] = {
     { CODEC_ID_ADPCM_4XM,         MKTAG('4', 'X', 'M', 'A')},
     { CODEC_ID_ADPCM_EA,          MKTAG('A', 'D', 'E', 'A')},