shithub: openh264

Download patch

ref: e6134b5972005a9764c5766adeb178474c81556e
parent: b65410ebdbc393d84f6a9c86f80e3e2bbd47ae51
author: Sijia Chen <sijchen@cisco.com>
date: Thu Dec 18 11:07:37 EST 2014

skip the git version hash in the header

--- a/codec/api/svc/codec_ver.h
+++ b/codec/api/svc/codec_ver.h
@@ -4,13 +4,12 @@
 
 #include "codec_app_def.h"
 
-static const Openh264Version g_stCodecVersion  = {1, 2, 1, 0};
-static const char* g_strCodecVer  = "Openh264 version:1.2.1.0";
-static const char* g_strCodecBuildNum = "Openh264 revision:a2c47f2";
+static const Openh264Version g_stCodecVersion  = {1,3,0,0};
+static const char* g_strCodecVer  = "Openh264 version:1.3.0.0";
 
 #define OPENH264_MAJOR (1)
-#define OPENH264_MINOR (2)
-#define OPENH264_REVISION (1)
+#define OPENH264_MINOR (3)
+#define OPENH264_REVISION (0)
 #define OPENH264_RESERVED (0)
 
 #endif  // CODEC_VER_H
--- a/codec/build/generate_codec_ver.sh
+++ b/codec/build/generate_codec_ver.sh
@@ -29,11 +29,11 @@
 
 echo "static const Openh264Version g_stCodecVersion  = {$1};"|tr '.' ',' >>codec_ver.h
 echo "static const char* g_strCodecVer  = \"Openh264 version:$1\";" >>codec_ver.h
-if [ "$2"x = ""x ]; then
-echo "static const char* g_strCodecBuildNum = \"Openh264 revision:$revision\";" >> codec_ver.h
-else
-echo "static const char* g_strCodecBuildNum = \"Openh264 build:$2, OpenH264 revision:$revision\";" >> codec_ver.h
-fi
+#if [ "$2"x = ""x ]; then
+#echo "static const char* g_strCodecBuildNum = \"Openh264 revision:$revision\";" >> codec_ver.h
+#else
+#echo "static const char* g_strCodecBuildNum = \"Openh264 build:$2, OpenH264 revision:$revision\";" >> codec_ver.h
+#fi
 echo "" >>codec_ver.h
 
 #define OPENH264_MAJOR 1, #define OPENH264_MINOR 2 #define OPENH264_REVISION 3 #define OPENH264_RESERVED 0