diff options
Diffstat (limited to 'stream/stream_lavf.c')
-rw-r--r-- | stream/stream_lavf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_lavf.c b/stream/stream_lavf.c index c994346290..3d1c6e0062 100644 --- a/stream/stream_lavf.c +++ b/stream/stream_lavf.c @@ -138,7 +138,7 @@ static int control(stream_t *s, int cmd, void *arg) static int interrupt_cb(void *ctx) { struct stream *stream = ctx; - return stream_check_interrupt(stream); + return mp_cancel_test(stream->cancel); } static const char * const prefix[] = { "lavf://", "ffmpeg://" }; |