summaryrefslogtreecommitdiff
path: root/libavformat/sapdec.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-11-06 22:55:40 +0200
committerAnton Khirnov <anton@khirnov.net>2011-11-13 13:13:57 +0100
commit6ef350c16bf9a375a1ea3e531019ea922ae5a1e1 (patch)
tree902a38b60845690aaee273a6fd3a18dfb183c26f /libavformat/sapdec.c
parent6f1b7b39449c4cd58e37d831d5d97bfd25eb26f0 (diff)
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.
Diffstat (limited to 'libavformat/sapdec.c')
-rw-r--r--libavformat/sapdec.c1
1 files changed, 1 insertions, 0 deletions
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;