Cleaned up compilation warnings.

This commit is contained in:
Rolf Ahrenberg 2009-06-18 17:40:44 +03:00
parent ecb79fe6db
commit cbc39db870
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ bool getMPEGVideoInfo(uint8_t *buf, int len, video_info_t *info)
info->format = VIDEO_FORMAT_UNKNOWN;
break;
}
info->bitrate = 400.0 * (((data[4] << 10) & 0x0003FC00UL) | ((data[5] << 2) & 0x000003FCUL) | (((data[6] & 0xC0) >> 6) & 0x00000003UL));
info->bitrate = 400.0 * (double)(((data[4] << 10) & 0x0003FC00UL) | ((data[5] << 2) & 0x000003FCUL) | (((data[6] & 0xC0) >> 6) & 0x00000003UL));
return true;
}