move DEBUG_SEEK definition before get_pts since func uses it

Originally committed as revision 13416 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 17 years ago
parent 979b1a0611
commit 4adcbbbeef
  1. 4
      libavformat/ffmdec.c

@ -107,6 +107,8 @@ static int ffm_read_data(AVFormatContext *s,
return size1 - size; return size1 - size;
} }
//#define DEBUG_SEEK
static int64_t get_pts(AVFormatContext *s, offset_t pos) static int64_t get_pts(AVFormatContext *s, offset_t pos)
{ {
ByteIOContext *pb = s->pb; ByteIOContext *pb = s->pb;
@ -368,8 +370,6 @@ static int ffm_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0; return 0;
} }
//#define DEBUG_SEEK
/* pos is between 0 and file_size - FFM_PACKET_SIZE. It is translated /* pos is between 0 and file_size - FFM_PACKET_SIZE. It is translated
by the write position inside this function */ by the write position inside this function */
static void ffm_seek1(AVFormatContext *s, offset_t pos1) static void ffm_seek1(AVFormatContext *s, offset_t pos1)

Loading…
Cancel
Save