static void stream_pause(VideoState *is)

{

    is->paused = !is->paused;

    if (!is->paused) {

        if(is->read_pause_return != AVERROR(ENOSYS)){

            is->video_current_pts = get_video_clock(is);

        }



        is->frame_timer += (av_gettime() - is->video_current_pts_time) / 1000000.0;

        is->video_current_pts_time= av_gettime();

    }

}

static void stream_pause(VideoState *is)

{

    is->paused = !is->paused;

    if (!is->paused) {

        if(is->read_pause_return != AVERROR(ENOSYS)){

            is->video_current_pts = get_video_clock(is);

        }



        is->frame_timer += (av_gettime() - is->video_current_pts_time) / 1000000.0;

        is->video_current_pts_time= av_gettime();

    }

}

    is->paused = !is->paused;     if (!is->paused) {             is->video_current_pts = get_video_clock(is);         is->frame_timer += (av_gettime() - is->video_current_pts_time) / 1000000.0;         is->video_current_pts_time= av_gettime();
static void FUNC_0(VideoState *VAR_0)

{

    VAR_0->paused = !VAR_0->paused;

    if (!VAR_0->paused) {

        if(VAR_0->read_pause_return != AVERROR(ENOSYS)){

            VAR_0->video_current_pts = get_video_clock(VAR_0);

        }



        VAR_0->frame_timer += (av_gettime() - VAR_0->video_current_pts_time) / 1000000.0;

        VAR_0->video_current_pts_time= av_gettime();

    }

}

static void FUNC_0(VideoState *VAR_0)
{ VAR_0->paused = !VAR_0->paused; if (!VAR_0->paused) { if(VAR_0->read_pause_return != AVERROR(ENOSYS)){ VAR_0->video_current_pts = get_video_clock(VAR_0); } VAR_0->frame_timer += (av_gettime() - VAR_0->video_current_pts_time) / 1000000.0; VAR_0->video_current_pts_time= av_gettime(); } }