Browse Source

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
tags/v0.5
Albert Astals Cid Diego Biurrun 17 years ago
parent
commit
e785efc49a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/ffmdec.c

+ 1
- 1
libavformat/ffmdec.c View 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);


Loading…
Cancel
Save