Hi,

FFmpeg last git with last git or version 1.5.1 of openh264 failed
here is the las log lines: after "make":

CC      libavcodec/libopenh264enc.o
libavcodec/libopenh264enc.c:54:84: error: ‘SM_AUTO_SLICE’ undeclared here (not in a function) { "slice_mode", "set slice mode", OFFSET(slice_mode), AV_OPT_TYPE_INT, { .i64 = SM_AUTO_SLICE }, SM_SINGLE_SLICE, SM_RESERVED, VE, "slice_mode" },
^
libavcodec/libopenh264enc.c:56:87: error: ‘SM_ROWMB_SLICE’ undeclared here (not in a function) { "rowmb", "one slice per row of macroblocks", 0, AV_OPT_TYPE_CONST, { .i64 = SM_ROWMB_SLICE }, 0, 0, VE, "slice_mode" },
^
libavcodec/libopenh264enc.c:58:68: error: ‘SM_DYN_SLICE’ undeclared here (not in a function) { "dyn", "Dynamic slicing", 0, AV_OPT_TYPE_CONST, { .i64 = SM_DYN_SLICE }, 0, 0, VE, "slice_mode" },
^
libavcodec/libopenh264enc.c: In function ‘svc_encode_init’:
libavcodec/libopenh264enc.c:196:23: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
         s->slice_mode = SM_DYN_SLICE;
                       ^
libavcodec/libopenh264enc.c:198:28: error: ‘SSpatialLayerConfig {aka struct <anonymous>}’ has no member named ‘sSliceCfg’ param.sSpatialLayers[0].sSliceCfg.uiSliceMode = s->slice_mode;
                            ^
libavcodec/libopenh264enc.c:198:38: error: request for member ‘uiSliceMode’ in something not a structure or union param.sSpatialLayers[0].sSliceCfg.uiSliceMode = s->slice_mode;
                                      ^
libavcodec/libopenh264enc.c:198:5: warning: statement with no effect [-Wunused-value] param.sSpatialLayers[0].sSliceCfg.uiSliceMode = s->slice_mode;
     ^
libavcodec/libopenh264enc.c:199:28: error: ‘SSpatialLayerConfig {aka struct <anonymous>}’ has no member named ‘sSliceCfg’ param.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceNum = avctx->slices;
                            ^
libavcodec/libopenh264enc.c:199:38: error: request for member ‘sSliceArgument’ in something not a structure or union param.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceNum = avctx->slices;
                                      ^
libavcodec/libopenh264enc.c:199:53: error: request for member ‘uiSliceNum’ in something not a structure or union param.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceNum = avctx->slices;
                                                     ^
libavcodec/libopenh264enc.c:199:5: warning: statement with no effect [-Wunused-value] param.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceNum = avctx->slices;
     ^
libavcodec/libopenh264enc.c:201:23: warning: comparison between pointer and integer
     if (s->slice_mode == SM_DYN_SLICE) {
                       ^
libavcodec/libopenh264enc.c:204:36: error: ‘SSpatialLayerConfig {aka struct <anonymous>}’ has no member named ‘sSliceCfg’ param.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceSizeConstraint = s->max_nal_size;
                                    ^
libavcodec/libopenh264enc.c:204:46: error: request for member ‘sSliceArgument’ in something not a structure or union param.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceSizeConstraint = s->max_nal_size;
                                              ^
libavcodec/libopenh264enc.c:204:61: error: request for member ‘uiSliceSizeConstraint’ in something not a structure or union param.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceSizeConstraint = s->max_nal_size;
                                                             ^
libavcodec/libopenh264enc.c:204:13: warning: statement with no effect [-Wunused-value] param.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceSizeConstraint = s->max_nal_size;
             ^
common.mak:60: recipe for target 'libavcodec/libopenh264enc.o' failed
make: *** [libavcodec/libopenh264enc.o] Error 1



_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to