History

demux: cosmetic change

This was sort of asymmetric and annoying.

wm4 committed 6 years ago

Commit fbc226a1 parent 26ec5861 file · +1 −2Browse files

Unified · Split

demux/demux.c+1−2
@@ -4028,8 +4028,6 @@ static void update_cache(struct demux_internal *in) · 4027 unmodified lines
40284028 struct demuxer *demuxer = in->d_thread;
40294029 struct stream *stream = demuxer->stream;
40304030
4031− struct mp_tags *stream_metadata = NULL;
4032−
40334031 int64_t now = mp_time_us();
40344032 int64_t diff = now - in->last_speed_query;
40354033 bool do_update = diff >= MP_SECOND_US;
@@ -4038,6 +4036,7 @@ static void update_cache(struct demux_internal *in) · 2 unmodified lines
40384036 pthread_mutex_unlock(&in->lock);
40394037
40404038 int64_t stream_size = -1;
4039+ struct mp_tags *stream_metadata = NULL;
40414040 if (stream) {
40424041 if (do_update)
40434042 stream_size = stream_get_size(stream);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t