Mercurial > libavformat.hg
diff ffmdec.c @ 3444:59989e1a2154 libavformat
Fix compilation with -DDEBUG, patch by Albert Astals Cid, aastals tv-wan es.
| author | diego |
|---|---|
| date | Mon, 09 Jun 2008 08:44:45 +0000 |
| parents | a6f4d53b738d |
| children | dcb099852975 |
line wrap: on
line diff
--- a/ffmdec.c Mon Jun 09 07:43:59 2008 +0000 +++ b/ffmdec.c Mon Jun 09 08:44:45 2008 +0000 @@ -364,7 +364,7 @@ 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);
