Browse Source

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>
tags/n1.1
Martin Storsjö 13 years ago
parent
commit
4edb34f6cc
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/segment.c

+ 1
- 0
libavformat/segment.c View File

@@ -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;


Loading…
Cancel
Save