mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 23:21:20 -04:00
Reduce some indentation
This commit is contained in:
parent
6cedd64509
commit
f555dc60eb
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user