1
0
mirror of https://github.com/rofafor/vdr-plugin-femon.git synced 2023-10-10 13:36:53 +02:00

Cleaned up compilation warnings.

This commit is contained in:
Rolf Ahrenberg 2009-06-18 17:38:27 +03:00
parent 84878bd1b9
commit db9735b80b

View File

@ -178,7 +178,7 @@ bool getMPEGVideoInfo(uint8_t *buf, int len, video_info_t *info)
info->format = VIDEO_FORMAT_UNKNOWN; info->format = VIDEO_FORMAT_UNKNOWN;
break; 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; return true;
} }