On 9/5/2017 8:57 PM, Ilia Valiakhmetov wrote: > Signed-off-by: Ilia Valiakhmetov <zakne...@gmail.com> > --- > libavcodec/avcodec.h | 7 ++++++- > libavcodec/options.c | 1 + > libavcodec/pthread_slice.c | 26 ++++++++++++++++++++++++-- > libavcodec/utils.c | 14 ++++++++++++++ > 4 files changed, 45 insertions(+), 3 deletions(-)
Missing APIChanges entry and version bump for the new API. > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index 6555550..712f40c 100644 > --- a/libavcodec/avcodec.h > +++ b/libavcodec/avcodec.h > @@ -1089,6 +1089,10 @@ typedef struct RcOverride{ > */ > #define AV_CODEC_CAP_AVOID_PROBING (1 << 17) > /** > + * Codec initializes slice-based threading with a main function > + */ > +#define AV_CODEC_SLICE_THREAD_HAS_MF (1 << 18) Prefix should be AV_CODEC_CAP_ like other flags. Does this need to be a public capability flag, for that matter? Maybe it could be instead an internal FF_CODEC_CAP_ one. See AVCodec->caps_internal. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel