Mercurial > libavformat.hg
changeset 4068:d8ef0a1e3f45 libavformat
Remove static variable and a printf using it. See "[PATCH] asf.c: move
packet_time_start=0 statement" thread on ML.
author | rbultje |
---|---|
date | Sat, 06 Dec 2008 20:28:38 +0000 |
parents | 8adccfc01be3 |
children | 52a514815c9a |
files | asf.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/asf.c Sat Dec 06 18:41:17 2008 +0000 +++ b/asf.c Sat Dec 06 20:28:38 2008 +0000 @@ -710,7 +710,6 @@ 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 @@ (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;