mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-28 01:35:02 +08:00
move DEBUG_SEEK definition before get_pts since func uses it
Originally committed as revision 13416 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user