May 24, 2023, 23:24 by leo.i...@gmail.com: > On 5/24/23 16:35, Lynne wrote: > >> Patch attached. >> > > + av_log((void *)&tx_class, AV_LOG_DEBUG, "%s\n", bp.str); > > The type of the first argument to av_log should be AVClass **, but this only > appears to be AVClass *. See libavutil/log.c line 428. > > - Leo Izen >
Right, thanks, changed to: > static const AVClass tx_class = { > .class_name = "tx", > .item_name = av_default_item_name, > .version = LIBAVUTIL_VERSION_INT, > }; > > static const struct { > const AVClass *tx_class; > } tx_log = { > &tx_class, > }; Will push this tomorrow. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".