return url_fseek(&s->pb, dv_frame_offset(c->dv_demux, timestamp), SEEK_SET);
c->frames= offset / sys->frame_size; c->abytes= av_rescale(c->frames, c->ast[0]->codec.bit_rate * (int64_t)sys->frame_rate_base, 8*sys->frame_rate); for (i=0; i<c->ach; i++) { if (c->ast[i] && c->audio_pkt[i].size) { av_free_packet(&c->audio_pkt[i]); c->audio_pkt[i].size = 0; } }  for(i = 0; i < s->nb_streams; i++) { AVStream *st = s->streams[stream_index]; AVStream *st2 = s->streams[i];  st->cur_dts = av_rescale(timestamp, st2->time_base.den * (int64_t)st ->time_base.num, st ->time_base.den * (int64_t)st2->time_base.num); }  return url_fseek(&s->pb, offset, SEEK_SET);
static int dv_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp){    RawDVContext *c = s->priv_data;    return url_fseek(&s->pb, dv_frame_offset(c->dv_demux, timestamp), SEEK_SET);}