Fix uninitialized value warning

Change-Id: Ib919a8ec2ec66d460d2f8a26d72aabc09dcbbd72
This commit is contained in:
hui su 2015-07-20 11:12:05 -07:00
parent 345ff1a2f2
commit f744613be9

View File

@ -4307,7 +4307,7 @@ int vp9_get_compressed_data(VP9_COMP *cpi, unsigned int *frame_flags,
#if CONFIG_INTERNAL_STATS
if (oxcf->pass != 1) {
double samples;
double samples = 0.0;
cpi->bytes += (int)(*size);
if (cm->show_frame) {