diff options
Diffstat (limited to 'demux/demux.c')
-rw-r--r-- | demux/demux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux.c b/demux/demux.c index 2283a0773b..04b1b526ea 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -736,10 +736,10 @@ static bool read_packet(struct demux_internal *in) if (eof && !ds->eof) { if (in->wakeup_cb) in->wakeup_cb(in->wakeup_cb_ctx); + pthread_cond_signal(&in->wakeup); } ds->eof |= eof; } - pthread_cond_signal(&in->wakeup); return false; } |