From: Good Guy Date: Mon, 20 Jul 2020 03:16:41 +0000 (-0600) Subject: fix Sample ref constructor for segv in resamplert X-Git-Tag: 2020-07~6 X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=commitdiff_plain;h=f7775d64092420a00bab4d1df06fa524eda59b63 fix Sample ref constructor for segv in resamplert --- diff --git a/cinelerra-5.1/cinelerra/samples.C b/cinelerra-5.1/cinelerra/samples.C index a4749bb1..bfdcd39b 100644 --- a/cinelerra-5.1/cinelerra/samples.C +++ b/cinelerra-5.1/cinelerra/samples.C @@ -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); }