summaryrefslogtreecommitdiff
path: root/libavformat/asf.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2008-12-06 20:28:38 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2008-12-06 20:28:38 +0000
commitdc50773dc5d2552ccd42df39fcf7afde41f8b648 (patch)
tree672a090c67273c151598a2fbf31db726baca14a0 /libavformat/asf.c
parent7b2a0708009c37c6bed20b9435b935aaaec7c6a1 (diff)
Remove static variable and a printf using it. See "[PATCH] asf.c: move
packet_time_start=0 statement" thread on ML. Originally committed as revision 16025 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf.c')
-rw-r--r--libavformat/asf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c
index 0024c2c144..247cc2cc2a 100644
--- a/libavformat/asf.c
+++ b/libavformat/asf.c
@@ -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;