]> git.sesse.net Git - ffmpeg/commitdiff
move DEBUG_SEEK definition before get_pts since func uses it
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 26 May 2008 03:47:56 +0000 (03:47 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 26 May 2008 03:47:56 +0000 (03:47 +0000)
Originally committed as revision 13416 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/ffmdec.c

index e7998ee9968f580488f5d136b204fbe43136844b..efad019b904af35c686600cab194dc40ccf6b617 100644 (file)
@@ -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)