int i;
AVStream *st; AVPacket pkt1, *pkt; int block_align, byte_rate; int64_t pos; int64_t pos_min, pos_max, pts_min, pts_max, cur_pts;
static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts){#if 0    ASFContext *asf = s->priv_data;    int i;    for(i = 0;; i++) {        url_fseek(&s->pb, asf->data_offset + i * asf->packet_size, SEEK_SET);        if (asf_get_packet(s) < 0)            break;        printf("timestamp=%0.3f\n",  asf->packet_timestamp / 1000.0);    }#endif    return -1;}