shithub: openh264

Download patch

ref: 443609286ecb73fc5bad3ff120f79b4f74465870
parent: daf67d607f6eba20d0ed67ae25dcf2d3cabbf1ee
author: Haibo Zhu <[email protected]>
date: Wed Jun 18 20:27:56 EDT 2014

modification about welsenc.cpp

--- a/codec/console/enc/src/welsenc.cpp
+++ b/codec/console/enc/src/welsenc.cpp
@@ -473,7 +473,7 @@
       }
     } else if (!strcmp (pCommand, "-drec") && (n + 1 < argc)) {
       unsigned int	iLayer = atoi (argv[n++]);
-      const unsigned int iLen = (unsigned int)strlen (argv[n]);
+      const unsigned int iLen = strlen (argv[n]);
       if (iLen >= sizeof (sFileSet.sRecFileName[iLayer]))
         return 1;
       sFileSet.sRecFileName[iLayer][iLen] = '\0';