hardware/intel/libva
Revision | 98e84c2251adb17c817eb96c95da8cc2b60a5329 (tree) |
---|---|
Zeit | 2016-01-29 14:59:16 |
Autor | Lim Siew Hoon <siew.hoon.lim@inte...> |
Commiter | Xiang, Haihao |
Avoid reaching div by zero
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
(cherry picked from commit cb418f6ef36b6e6f0d632bf7c0aaf035a271400b)
@@ -968,7 +968,7 @@ int main(int argc, char *argv[]) | ||
968 | 968 | default: { |
969 | 969 | printf("Unsupported format:\n"); |
970 | 970 | show_help(); |
971 | - break; | |
971 | + return -1; | |
972 | 972 | } |
973 | 973 | |
974 | 974 | } |