Ticket #16: returnvalues.patch

File returnvalues.patch, 1.0 KB (added by mwi, 13 years ago)
  • source/App/TAppDecoder/decmain.cpp

     
    6060  if(!cTAppDecTop.parseCfg( argc, argv ))
    6161  {
    6262    cTAppDecTop.destroy();
    63     return 0;
     63    return 1;
    6464  }
    6565
    6666  // starting time
     
    7777  // destroy application decoder class
    7878  cTAppDecTop.destroy();
    7979
    80   return 1;
     80  return 0;
    8181}
    8282
    8383
  • source/App/TAppEncoder/encmain.cpp

     
    5959  if(!cTAppEncTop.parseCfg( argc, argv ))
    6060  {
    6161    cTAppEncTop.destroy();
    62     return 0;
     62    return 1;
    6363  }
    6464
    6565  // starting time
     
    7676  // destroy application encoder class
    7777  cTAppEncTop.destroy();
    7878
    79 #ifdef QC_CONFIG
    8079  return 0;
    81 #else
    82   return 1;
    83 #endif
    8480}
    8581
    8682