Compilation fails on input/lavf.c x264
input/lavf.c: In function 'codec_from_stream': input/lavf.c:65:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | AVCodec *codec = avcodec_find_decoder( stream->codecpar->codec_id ); | ^~~~~~~~~~~~~~~~~~~~ input/lavf.c: In function 'read_frame_internal': input/lavf.c:144:36: error: 'AVFrame' has no member named 'interlaced_frame' 144 | info->interlaced = h->frame->interlaced_frame; | ^~ input/lavf.c:145:36: error: 'AVFrame' has no member named 'top_field_first' 145 | info->tff = h->frame->top_field_first; | ^~ -- Stefan
пн, 25 мая 2026 г., 22:49 Stefan de Konink via Cin < cin@lists.cinelerra-gg.org>:
input/lavf.c: In function 'codec_from_stream': input/lavf.c:65:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | AVCodec *codec = avcodec_find_decoder( stream->codecpar->codec_id ); | ^~~~~~~~~~~~~~~~~~~~ input/lavf.c: In function 'read_frame_internal': input/lavf.c:144:36: error: 'AVFrame' has no member named 'interlaced_frame' 144 | info->interlaced = h->frame->interlaced_frame; | ^~ input/lavf.c:145:36: error: 'AVFrame' has no member named 'top_field_first' 145 | info->tff = h->frame->top_field_first; | ^~
-- Stefan
strange, in thirdparty/Makefile it already should disable this? x264.cfg_params?= --enable-static --enable-pic --disable-lavf --disable-swscale --disable-ffms
_______________________________________________ Cin mailing list -- cin@lists.cinelerra-gg.org To unsubscribe send an email to cin-leave@lists.cinelerra-gg.org
participants (2)
-
Andrew Randrianasulu -
Stefan de Konink