fix Sample ref constructor for segv in resamplert
authorGood Guy <[email protected]>
Mon, 20 Jul 2020 03:16:41 +0000 (21:16 -0600)
committerGood Guy <[email protected]>
Mon, 20 Jul 2020 03:16:41 +0000 (21:16 -0600)
cinelerra-5.1/cinelerra/samples.C

index a4749bb1a0dbf98642444540d81a8af3deb5b9fb..bfdcd39b133eef72c26c34fc46a79f57cc36cd42 100644 (file)
@@ -48,7 +48,7 @@ Samples::Samples(Samples *src)
 {
        reset();
        int src_sz = src->get_allocated();
-       if( use_shm ) {
+       if( src->use_shm ) {
                share(src->get_shmid());
                set_allocated(src_sz);
        }