]>
Commit | Line | Data |
---|---|---|
6afc24d6 ER |
1 | #! /bin/sh /usr/share/dpatch/dpatch-run |
2 | ## Paul Brossier <piem@debian.org> | |
3 | ## DP: fix segfault when no multiplex tool is set | |
4 | ||
5 | @DPATCH@ | |
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 | |
8 | @@ -277,7 +277,10 @@ | |
9 | gchar *full; | |
10 | char sceneString[ 20 ]; | |
11 | int sceneEnd = end; | |
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" )); | |
17 | ||
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 |