shithub: openh264

Download patch

ref: e621610776b4b8e3df1f7df3bc9c122c29228c03
parent: 6b503843ec8ae27185180089365dd252e647ac7e
author: Haibo Zhu <haibozhu@cisco.com>
date: Tue Aug 4 07:11:06 EDT 2015

Add default value for ChromaArrayType to avoid NO value

--- a/codec/decoder/core/src/au_parser.cpp
+++ b/codec/decoder/core/src/au_parser.cpp
@@ -943,6 +943,7 @@
   } else pSps->pSLevelLimits = pSLevelLimits;
   // syntax elements in default
   pSps->uiChromaFormatIdc = 1;
+  pSps->uiChromaArrayType = 1;
 
   pSps->uiProfileIdc = uiProfileIdc;
   pSps->uiLevelIdc   = uiLevelIdc;