]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Fix compilation with -DDEBUG, patch by Albert Astals Cid, aastals tv-wan es.
authordiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 9 Jun 2008 08:44:45 +0000 (08:44 +0000)
committerdiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 9 Jun 2008 08:44:45 +0000 (08:44 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13727 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/ffmdec.c

index 7f9cf9a853a0435a6a309bc644c002b103771825..e535e7d4081a5312869092fe5d8ac8fb01a4c365 100644 (file)
@@ -364,7 +364,7 @@ static int ffm_read_packet(AVFormatContext *s, AVPacket *pkt)
             return AVERROR(EAGAIN);
         }
         dprintf(s, "pos=%08"PRIx64" spos=%"PRIx64", write_index=%"PRIx64" size=%"PRIx64"\n",
-               url_ftell(s->pb), s->pb.pos, ffm->write_index, ffm->file_size);
+               url_ftell(s->pb), s->pb->pos, ffm->write_index, ffm->file_size);
         if (ffm_read_data(s, ffm->header, FRAME_HEADER_SIZE, 1) !=
             FRAME_HEADER_SIZE)
             return AVERROR(EAGAIN);