shithub: openh264

Download patch

ref: 618729bf5ac1ad0909acfa7d465c92596c430e49
parent: 74130321859ece439a8edd04f44da84d1908a2f6
author: Sijia Chen <sijchen@cisco.com>
date: Wed May 21 12:46:43 EDT 2014

roll back an unnecessary change

--- a/codec/console/enc/src/welsenc.cpp
+++ b/codec/console/enc/src/welsenc.cpp
@@ -739,7 +739,7 @@
     if (!fseek (pFileYUV, 0, SEEK_END)) {
       int64_t i_size = ftell (pFileYUV);
       fseek (pFileYUV, 0, SEEK_SET);
-      iTotalFrameMax = WELS_MAX (WELS_ROUND (i_size / kiPicResSize), iTotalFrameMax);
+      iTotalFrameMax = WELS_MAX ((int32_t) (i_size / kiPicResSize), iTotalFrameMax);
     }
   } else {
     fprintf (stderr, "Unable to open source sequence file (%s), check corresponding path!\n",