shithub: openh264

Download patch

ref: 0aa77d2985a0caf8f60938cbdf330260c12660a1
parent: 8b49f98475226148b93fe95e2c61d247c281f9ab
author: Martin Storsjö <[email protected]>
date: Mon Nov 10 04:03:18 EST 2014

Remove a duplicated field in SWelsSvcCodingParam

The same field already exists in SEncParamExt. When the
initialization was deduplicated in ac404ce, this lead to
reading the now uninitialized field in SWelsSvcCodingParam,
instead of the properly initialized one in the base class.

--- a/codec/encoder/core/inc/param_svc.h
+++ b/codec/encoder/core/inc/param_svc.h
@@ -118,9 +118,6 @@
   int8_t		iDecompStages;		// GOP size dependency
   int32_t  iMaxNumRefFrame;
 
-//setting this according to link type in use MAY invoke some algorithms targeting higher coding efficiency
-  bool bIsLosslessLink;
-
  public:
   TagWelsSvcCodingParam() {
     FillDefault();