• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

Revision98e84c2251adb17c817eb96c95da8cc2b60a5329 (tree)
Zeit2016-01-29 14:59:16
AutorLim Siew Hoon <siew.hoon.lim@inte...>
CommiterXiang, Haihao

Log Message

Avoid reaching div by zero

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
(cherry picked from commit cb418f6ef36b6e6f0d632bf7c0aaf035a271400b)

Ändern Zusammenfassung

Diff

--- a/test/encode/jpegenc.c
+++ b/test/encode/jpegenc.c
@@ -968,7 +968,7 @@ int main(int argc, char *argv[])
968968 default: {
969969 printf("Unsupported format:\n");
970970 show_help();
971- break;
971+ return -1;
972972 }
973973
974974 }