]> git.pld-linux.org Git - packages/kino.git/blob - kino-fix_no_mplex.patch
- add segfault_empty_chapter,fix_avi_packing,fix_no_mplex,fix_bigendian_warning patch...
[packages/kino.git] / kino-fix_no_mplex.patch
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
This page took 0.055997 seconds and 3 git commands to generate.