copytb not initialized to it's default value
|Reported by:||RLeatherwood||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||yes|
The copytb option was added back on SVN 26340. The variable copytb that holds the option's value is declared without being initialized. I assume that the default value is supposed to be zero (and that a compiler would initialize it to zero). Still it looks out of place without its default value explicitly set.
static float audio_drift_threshold= 0.1; static int copy_ts= 0; static int copy_tb; static int opt_shortest = 0;
I have attached a patch that explicitly initializes this variable to 0 (assumed default).
Change History (5)
Changed 6 years ago by RLeatherwood
comment:1 Changed 5 years ago by michael
- Analyzed by developer set
- Status changed from new to open
- Type changed from defect to enhancement