summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2023-10-21 18:12:53 +0600
committerDudemanguy <random342@airmail.cc>2023-10-30 17:16:38 +0000
commit20fff1e509cb10c60c558be1cc1e243df3edbb32 (patch)
tree4af7bf01148a27c7f8f9477dc079e7c387713e2d
parentb56e63e2a96b67aff4050d4db06ee67665893c36 (diff)
downloadmpv-20fff1e509cb10c60c558be1cc1e243df3edbb32.tar.bz2
mpv-20fff1e509cb10c60c558be1cc1e243df3edbb32.tar.xz
demux: cosmetics
- brace goes to next line for multi-line conditional - sort standard headers some more
-rw-r--r--demux/demux.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/demux/demux.c b/demux/demux.c
index e28c45b079..e44ba75eea 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -18,18 +18,16 @@
#include <assert.h>
#include <float.h>
#include <limits.h>
+#include <math.h>
#include <pthread.h>
#include <stdatomic.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
-
-#include <math.h>
-
-#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
#include "cache.h"
#include "config.h"
@@ -2190,7 +2188,8 @@ static bool read_packet(struct demux_internal *in)
if (ds->eager && ds->queue->last_ts != MP_NOPTS_VALUE &&
in->min_secs > 0 && ds->base_ts != MP_NOPTS_VALUE &&
ds->queue->last_ts >= ds->base_ts &&
- !in->back_demuxing) {
+ !in->back_demuxing)
+ {
if (ds->queue->last_ts - ds->base_ts <= in->hyst_secs)
in->hyst_active = false;
if (!in->hyst_active)