diff options
author | Martin Storsjö <martin@martin.st> | 2012-02-26 03:35:13 +0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-10-03 00:14:07 +0400 |
commit | 4edb34f6cc43a64ea6582ebaf95a7e9e56cbb9af (patch) | |
tree | 0357fde5212e22b83516536ee8bf999903695acc /libavformat/segment.c | |
parent | 1ca3b62b10e6c174b5758f94f70f334ccf5097be (diff) |
segment: Pass the interrupt callback on to the chained AVFormatContext, too
This might not be needed at the moment, but it's good practice to
pass it to all chained AVFormatContexts, if it would happen to be
used there at a later point.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/segment.c')
-rw-r--r-- | libavformat/segment.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |