aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ffmdec.c
diff options
context:
space:
mode:
authorAlbert Astals Cid <aastals@tv-wan.es>2008-06-09 08:44:45 +0000
committerDiego Biurrun <diego@biurrun.de>2008-06-09 08:44:45 +0000
commite785efc49af8e6df892c8f2ada49a0dee178b95d (patch)
treefbf36abb6773f04a7b070ca84220f1c186a8d114 /libavformat/ffmdec.c
parent83657f9f1cc3b9af9c1f1df26a237362b438ac55 (diff)
downloadffmpeg-e785efc49af8e6df892c8f2ada49a0dee178b95d.tar.gz
Fix compilation with -DDEBUG, patch by Albert Astals Cid, aastals tv-wan es.
Originally committed as revision 13727 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/ffmdec.c')
-rw-r--r--libavformat/ffmdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c
index 7f9cf9a853..e535e7d408 100644
--- a/libavformat/ffmdec.c
+++ b/libavformat/ffmdec.c
@@ -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);