Commit 4adcbbbe authored by Baptiste Coudurier's avatar Baptiste Coudurier

move DEBUG_SEEK definition before get_pts since func uses it

Originally committed as revision 13416 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 979b1a06
...@@ -107,6 +107,8 @@ static int ffm_read_data(AVFormatContext *s, ...@@ -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) ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment