]> git.sesse.net Git - nageru/commitdiff
Make Ebu_r128_proc::Ebu_r128_proc() not move uninitialized variables around.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 21 Dec 2018 23:11:36 +0000 (00:11 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 21 Dec 2018 23:11:36 +0000 (00:11 +0100)
It doesn't matter since init() will be called immediately afterwards,
but it silences Coverity Scan.

nageru/ebu_r128_proc.cc

index f062eafe6155642da45b8208b747f85fadbc30a8..b21c863ae8d4b58d957a9ab0349c53af0336b056 100644 (file)
@@ -154,6 +154,7 @@ void Ebu_r128_hist::calc_range (float *v0, float *v1, float *th)
 
 Ebu_r128_proc::Ebu_r128_proc (void)
 {
+    _fragm = 0;
     reset ();
 }