ref: 02354832cf8a9c62af63377a9601718243940732
parent: baf93a340e066cb0223f79b53c974df1da2f9f79
author: Martin Storsjö <[email protected]>
date: Mon Apr 27 09:58:50 EDT 2015
Add spaces in the struct in codec_ver.h This avoids unnecessary changes if this file is run through astyle.
--- a/codec/api/svc/codec_ver.h
+++ b/codec/api/svc/codec_ver.h
@@ -4,7 +4,7 @@
#include "codec_app_def.h"
-static const OpenH264Version g_stCodecVersion = {1,4,0,0};
+static const OpenH264Version g_stCodecVersion = {1, 4, 0, 0};
static const char* const g_strCodecVer = "OpenH264 version:1.4.0.0";
#define OPENH264_MAJOR (1)
--- a/codec/build/generate_codec_ver.sh
+++ b/codec/build/generate_codec_ver.sh
@@ -36,7 +36,7 @@
tmp=${tmp#*.}
resnr="${tmp%%.*}"
-echo "static const OpenH264Version g_stCodecVersion = {$major,$minor,$revnr,$resnr};" >>codec_ver.h
+echo "static const OpenH264Version g_stCodecVersion = {$major, $minor, $revnr, $resnr};" >>codec_ver.h
echo "static const char* const g_strCodecVer = \"OpenH264 version:$fullver\";" >>codec_ver.h
#if [ "$2"x = ""x ]; then
#echo "static const char* const g_strCodecBuildNum = \"OpenH264 revision:$revision\";" >> codec_ver.h