From 6ef350c16bf9a375a1ea3e531019ea922ae5a1e1 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Sun, 6 Nov 2011 22:55:40 +0200 Subject: avformat: Pass the interrupt callback on to chained muxers/demuxers There are a few more cases of chained demuxers, but they only use custom IO which don't do any blocking IO and thus don't need the callback. --- libavformat/sapdec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/sapdec.c') diff --git a/libavformat/sapdec.c b/libavformat/sapdec.c index 21f893554f..7b950cd617 100644 --- a/libavformat/sapdec.c +++ b/libavformat/sapdec.c @@ -157,6 +157,7 @@ static int sap_read_header(AVFormatContext *s, } sap->sdp_ctx->max_delay = s->max_delay; sap->sdp_ctx->pb = &sap->sdp_pb; + sap->sdp_ctx->interrupt_callback = s->interrupt_callback; ret = avformat_open_input(&sap->sdp_ctx, "temp.sdp", infmt, NULL); if (ret < 0) goto fail; -- cgit v1.2.3