shithub: openh264

Download patch

ref: 6ab697ef78868e8c2c1ec25cadacb9a5fa798c0a
parent: 47dcacee83ccc3f5718f89e421963d7b7bb2633a
parent: e621610776b4b8e3df1f7df3bc9c122c29228c03
author: huili2 <[email protected]>
date: Wed Aug 5 07:08:41 EDT 2015

Merge pull request #2060 from HaiboZhu/Bugfix_default_value_chroma_array_type

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;