[libav-commits] segment: Pass the interrupt callback on to the chained AVFormatContext, too

Martin Storsjö git at libav.org
Tue Oct 2 22:15:18 CEST 2012


Module: libav
Branch: master
Commit: 4edb34f6cc43a64ea6582ebaf95a7e9e56cbb9af

Author:    Martin Storsjö <martin at martin.st>
Committer: Martin Storsjö <martin at martin.st>
Date:      Sun Feb 26 01:35:13 2012 +0200

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 at martin.st>

---

 libavformat/segment.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/segment.c b/libavformat/segment.c
index 88d80a4..0c644d4 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;



More information about the libav-commits mailing list