diff --git a/libavformat/segment.c b/libavformat/segment.c index 88d80a41b1..0c644d48ae 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -144,6 +144,7 @@ static int seg_write_header(AVFormatContext *s) goto fail; } + oc->interrupt_callback = s->interrupt_callback; seg->avf = oc; oc->streams = s->streams;