Commit a269a24e authored by rbultje's avatar rbultje

Remove static variable and a printf using it. See "[PATCH] asf.c: move

packet_time_start=0 statement" thread on ML.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16025 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0d2d2743
......@@ -710,7 +710,6 @@ static int asf_read_packet(AVFormatContext *s, AVPacket *pkt)
ASFContext *asf = s->priv_data;
ASFStream *asf_st = 0;
ByteIOContext *pb = s->pb;
//static int pc = 0;
for (;;) {
if(url_feof(pb))
return AVERROR(EIO);
......@@ -728,7 +727,6 @@ static int asf_read_packet(AVFormatContext *s, AVPacket *pkt)
(asf->packet_pos - asf->data_object_offset >= asf->data_object_size))
return AVERROR(EIO); /* Do not exceed the size of the data object */
ret = asf_get_packet(s);
//printf("READ ASF PACKET %d r:%d c:%d\n", ret, asf->packet_size_left, pc++);
if (ret < 0)
assert(asf->packet_size_left < FRAME_HEADER_SIZE || asf->packet_segments < 1);
asf->packet_time_start = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment