summaryrefslogtreecommitdiff
path: root/libavformat/ffmdec.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-05-26 03:47:56 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-05-26 03:47:56 +0000
commit4adcbbbeef95414bd54d0c417a54b232abd0125a (patch)
tree8726bb936166fb0a77f12f616c8c1bc629155f1f /libavformat/ffmdec.c
parent979b1a0611e932b94ad6d7fb7c77a9f5ea7012c0 (diff)
downloadffmpeg-4adcbbbeef95414bd54d0c417a54b232abd0125a.tar.gz
move DEBUG_SEEK definition before get_pts since func uses it
Originally committed as revision 13416 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/ffmdec.c')
-rw-r--r--libavformat/ffmdec.c4
1 files 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)