From 4adcbbbeef95414bd54d0c417a54b232abd0125a Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Mon, 26 May 2008 03:47:56 +0000 Subject: [PATCH] move DEBUG_SEEK definition before get_pts since func uses it Originally committed as revision 13416 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/ffmdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c index e7998ee996..efad019b90 100644 --- a/libavformat/ffmdec.c +++ b/libavformat/ffmdec.c @@ -107,6 +107,8 @@ static int ffm_read_data(AVFormatContext *s, return size1 - size; } +//#define DEBUG_SEEK + static int64_t get_pts(AVFormatContext *s, offset_t pos) { ByteIOContext *pb = s->pb; @@ -368,8 +370,6 @@ static int ffm_read_packet(AVFormatContext *s, AVPacket *pkt) return 0; } -//#define DEBUG_SEEK - /* pos is between 0 and file_size - FFM_PACKET_SIZE. It is translated by the write position inside this function */ static void ffm_seek1(AVFormatContext *s, offset_t pos1) -- GitLab