The getopt_long func is return integer data type is more than 1 bytes.
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
picture_height_in_mbs = (picture_height + 15) / 16;
if (argc > 5) {
- char o;
+ int o;
optind = 5;
static int process_cmdline(int argc, char *argv[])
{
- char c;
+ int c;
const struct option long_opts[] = {
{"help", no_argument, NULL, 0 },
{"bitrate", required_argument, NULL, 1 },
VAStatus va_status;
pthread_t thread1;
int ret;
- char c;
+ int c;
int i;
char str_src_fmt[5], str_dst_fmt[5];