void ff_dv_offset_reset(DVDemuxContext *c, int64_t frame_offset)

{

    c->frames= frame_offset;

    if (c->ach)

        c->abytes= av_rescale_q(c->frames, c->sys->time_base,

                                (AVRational){8, c->ast[0]->codec->bit_rate});

    c->audio_pkt[0].size = c->audio_pkt[1].size = 0;

    c->audio_pkt[2].size = c->audio_pkt[3].size = 0;

}

void ff_dv_offset_reset(DVDemuxContext *c, int64_t frame_offset)

{

    c->frames= frame_offset;

    if (c->ach)

        c->abytes= av_rescale_q(c->frames, c->sys->time_base,

                                (AVRational){8, c->ast[0]->codec->bit_rate});

    c->audio_pkt[0].size = c->audio_pkt[1].size = 0;

    c->audio_pkt[2].size = c->audio_pkt[3].size = 0;

}

    if (c->ach)
void FUNC_0(DVDemuxContext *VAR_0, int64_t VAR_1)

{

    VAR_0->frames= VAR_1;

    if (VAR_0->ach)

        VAR_0->abytes= av_rescale_q(VAR_0->frames, VAR_0->sys->time_base,

                                (AVRational){8, VAR_0->ast[0]->codec->bit_rate});

    VAR_0->audio_pkt[0].size = VAR_0->audio_pkt[1].size = 0;

    VAR_0->audio_pkt[2].size = VAR_0->audio_pkt[3].size = 0;

}

void FUNC_0(DVDemuxContext *VAR_0, int64_t VAR_1)
{ VAR_0->frames= VAR_1; if (VAR_0->ach)
VAR_0->abytes= av_rescale_q(VAR_0->frames, VAR_0->sys->time_base,
(AVRational){8, VAR_0->ast[0]->codec->bit_rate}); VAR_0->audio_pkt[0].size = VAR_0->audio_pkt[1].size = 0; VAR_0->audio_pkt[2].size = VAR_0->audio_pkt[3].size = 0; }