1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 09:53:50 +00:00

Reduce some indentation

This commit is contained in:
Chris Robinson 2012-12-13 18:12:17 -08:00
parent 6cedd64509
commit f555dc60eb

View file

@ -462,12 +462,17 @@ public:
VideoPicture *vp;
double actual_delay, delay, sync_threshold, ref_clock, diff;
if(is->video_st)
if(!is->video_st)
{
schedule_refresh(is, 100);
return;
}
if(is->pictq_size == 0)
schedule_refresh(is, 1);
else
{
schedule_refresh(is, 1);
return;
}
vp = &is->pictq[is->pictq_rindex];
is->video_current_pts = vp->pts;
@ -521,10 +526,6 @@ public:
is->pictq_cond.notify_one ();
is->pictq_mutex.unlock ();
}
}
else
schedule_refresh(is, 100);
}
int queue_picture(VideoState *is, AVFrame *pFrame, double pts)
{