X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fbuffersrc.h;h=847c093c5e7d61dd7950b77357c7974691caf5dd;hb=b66a94ab539cbebf8dc6ca53d81dfa47d6dd59ac;hp=cd3d95fb9a307c7d1d7d9700b1d01a737a9a1b01;hpb=fd0fa9af80fe0975989d1a82b4469611519b04f1;p=ffmpeg diff --git a/libavfilter/buffersrc.h b/libavfilter/buffersrc.h index cd3d95fb9a3..847c093c5e7 100644 --- a/libavfilter/buffersrc.h +++ b/libavfilter/buffersrc.h @@ -78,6 +78,7 @@ unsigned av_buffersrc_get_nb_failed_requests(AVFilterContext *buffer_src); * This function is equivalent to av_buffersrc_add_frame_flags() with the * AV_BUFFERSRC_FLAG_KEEP_REF flag. */ +av_warn_unused_result int av_buffersrc_write_frame(AVFilterContext *ctx, const AVFrame *frame); /** @@ -98,6 +99,7 @@ int av_buffersrc_write_frame(AVFilterContext *ctx, const AVFrame *frame); * This function is equivalent to av_buffersrc_add_frame_flags() without the * AV_BUFFERSRC_FLAG_KEEP_REF flag. */ +av_warn_unused_result int av_buffersrc_add_frame(AVFilterContext *ctx, AVFrame *frame); /** @@ -115,6 +117,7 @@ int av_buffersrc_add_frame(AVFilterContext *ctx, AVFrame *frame); * @return >= 0 in case of success, a negative AVERROR code * in case of failure */ +av_warn_unused_result int av_buffersrc_add_frame_flags(AVFilterContext *buffer_src, AVFrame *frame, int flags);