<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi guys,<div class=""><br class=""></div><div class="">I’ve been using the FFmpeg libs with OpenH264 without issues.</div><div class="">I just wanted to rebuild the FFmpeg libs with the latest stable version (2.8.5) and I’m now seeing build errors.</div><div class="">I also tried with the latest snapshot.</div><div class=""><br class=""></div><div class="">It appears that the FFmpeg wrapper doesn’t work properly with the current version of the OpenH264 library.</div><div class="">Is there a place where I can file a bug and what info will be needed?</div><div class=""><br class=""></div><div class="">Attached is the log (the essential part, the whole build log is very long).</div><div class=""><br class=""></div><div class="">Thanks and best regards.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">CC<span class="Apple-tab-span" style="white-space:pre">     </span>libavcodec/latm_parser.o</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">CC<span class="Apple-tab-span" style="white-space:pre">       </span>libavcodec/lcldec.o</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">CC<span class="Apple-tab-span" style="white-space:pre">    </span>libavcodec/lclenc.o</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">CC<span class="Apple-tab-span" style="white-space:pre">    </span>libavcodec/libopenh264enc.o</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">CC<span class="Apple-tab-span" style="white-space:pre">    </span>libavcodec/ljpegenc.o</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">CC<span class="Apple-tab-span" style="white-space:pre">  </span>libavcodec/loco.o</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><b class="">libavcodec/libopenh264enc.c:49:81: </b><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><b class="">use of undeclared identifier 'SM_AUTO_SLICE'; did you mean 'SM_RASTER_SLICE'?</b></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">    { "slice_mode", "Slice mode", OFFSET(slice_mode), AV_OPT_TYPE_INT, { .i64 = SM_AUTO_SLICE }, SM_SINGLE_SLICE, SM_RESERVED, VE, "slice_mode" },</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><b class="">                                                                                ^~~~~~~~~~~~~</b></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class="">                                                                                SM_RASTER_SLICE</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><b class="">/usr/local/include/wels/codec_app_def.h:331:3: note: </b>'SM_RASTER_SLICE' declared here</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">  SM_RASTER_SLICE         = 2, ///< | according to SlicesAssign    | need input of MB numbers each slice. In addition, if other constraint in SSliceArgument is presented, need to f...</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><b class="">  ^</b></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><b class="">libavcodec/libopenh264enc.c:51:83: </b><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><b class="">use of undeclared identifier 'SM_ROWMB_SLICE'; did you mean 'SM_RASTER_SLICE'?</b></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">    { "rowmb", "One slice per row of macroblocks", 0, AV_OPT_TYPE_CONST, { .i64 = SM_ROWMB_SLICE }, 0, 0, VE, "slice_mode" },</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><b class="">                                                                                  ^~~~~~~~~~~~~~</b></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class="">                                                                                  SM_RASTER_SLICE</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><b class="">/usr/local/include/wels/codec_app_def.h:331:3: note: </b>'SM_RASTER_SLICE' declared here</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">  SM_RASTER_SLICE         = 2, ///< | according to SlicesAssign    | need input of MB numbers each slice. In addition, if other constraint in SSliceArgument is presented, need to f...</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><b class="">  ^</b></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><b class="">libavcodec/libopenh264enc.c:52:107: </b><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><b class="">use of undeclared identifier 'SM_AUTO_SLICE'; did you mean 'SM_RASTER_SLICE'?</b></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">    { "auto", "Automatic number of slices according to number of threads", 0, AV_OPT_TYPE_CONST, { .i64 = SM_AUTO_SLICE }, 0, 0, VE, "slice_mode" },</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><b class="">                                                                                                          ^~~~~~~~~~~~~</b></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class="">                                                                                                          SM_RASTER_SLICE</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><b class="">/usr/local/include/wels/codec_app_def.h:331:3: note: </b>'SM_RASTER_SLICE' declared here</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">  SM_RASTER_SLICE         = 2, ///< | according to SlicesAssign    | need input of MB numbers each slice. In addition, if other constraint in SSliceArgument is presented, need to f...</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><b class="">  ^</b></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><b class="">libavcodec/libopenh264enc.c:132:29: </b><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><b class="">no member named 'sSliceCfg' in 'SSpatialLayerConfig'</b></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">    param.sSpatialLayers[0].sSliceCfg.uiSliceMode               = s->slice_mode;</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><b class="">    ~~~~~~~~~~~~~~~~~~~~~~~ ^</b></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><b class="">libavcodec/libopenh264enc.c:133:29: </b><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><b class="">no member named 'sSliceCfg' in 'SSpatialLayerConfig'</b></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">    param.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceNum = avctx->slices;</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><b class="">    ~~~~~~~~~~~~~~~~~~~~~~~ ^</b></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">5 errors generated.</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">make: *** [libavcodec/libopenh264enc.o] Error 1</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">make: *** Waiting for unfinished jobs....</div></div><div class=""><br class=""></div></body></html>