1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## Paul Brossier <piem@debian.org>
3 ## DP: fix segfault when no multiplex tool is set
6 --- kino-0.7.6/src/page_export_mjpeg.cc 2005-04-02 00:02:00.000000000 +0100
7 +++ kino-0.76/src/page_export_mjpeg.cc 2005-07-21 17:33:26.000000000 +0100
10 char sceneString[ 20 ];
12 - bool userMplexSplit = ( strstr( multiplex, "-S" ) || strstr( multiplex, "--max-segment-size" ) );
13 + bool userMplexSplit = 0;
14 + if ( multiplex != NULL && strcmp( multiplex, "" ) )
15 + userMplexSplit = (strstr( multiplex, "-S" )
16 + || strstr( multiplex, "--max-segment-size" ));
18 // Determine if we need to split by scene or not
19 // when splitting: Output is generated as fileNNN_MMM.mpeg where NNN is the