mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-09 03:18:36 +00:00
use dprintf
Originally committed as revision 13423 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
376aefddad
commit
ff978de47c
@ -364,10 +364,8 @@ static int ffm_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
if (!ffm_is_avail_data(s, FRAME_HEADER_SIZE)) {
|
||||
return AVERROR(EAGAIN);
|
||||
}
|
||||
#if 0
|
||||
printf("pos=%08"PRIx64" spos=%"PRIx64", write_index=%"PRIx64" size=%"PRIx64"\n",
|
||||
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);
|
||||
#endif
|
||||
if (ffm_read_data(s, ffm->header, FRAME_HEADER_SIZE, 1) !=
|
||||
FRAME_HEADER_SIZE)
|
||||
return AVERROR(EAGAIN);
|
||||
|
Loading…
Reference in New Issue
Block a user