ref: 9bda41b1aed97e12ec6c144b7a297ea108f203fe
parent: 617f7c5d73b37062e131fddd286d4ae8d0347469
parent: 02354832cf8a9c62af63377a9601718243940732
author: zhilwang <zhilwang@cisco.com>
date: Wed Apr 29 13:41:32 EDT 2015
Merge pull request #1920 from mstorsjo/codec-ver-spacing Add spaces in the struct in codec_ver.h
--- 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