On Fri, 2020-12-04 at 10:21 -0300, James Almer wrote: > On 12/4/2020 7:24 AM, Anton Khirnov wrote: > > Quoting Haihao Xiang (2020-11-23 09:16:13) > > > ff_qsv_print_iopattern, ff_qsv_print_error and ff_qsv_print_warning can be > > > used outside of lavc. In addition, ff_qsv_map_error is used in > > > libavcodec/qsv.c only, so remove ff_ from ff_qsv_map_error and make it > > > static. > > > > > > Signed-off-by: Haihao Xiang <haihao.xi...@intel.com> > > > --- > > > > New avpriv functions are strongly discouraged. Dependencies between > > libavcodec and libavfilter are also not good. > > > > Those should either be inline in a private header, or exported as proper > > public API from libavutil. > > Public API, or even avpriv_ symbols that depend on external > libraries/hardware are not a good idea and should be avoided. And these > are all "print error", "print warning" kind of helpers that most likely > have no use outside of libav*. > > All of them look like can be inlined just fine, too, so he should do > that instead.
Thanks for the feedback. I sent out a new version of the patch that uses inline functions instead of avpriv functions Regards Haihao > _______________________________________________ > 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". _______________________________________________ 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".