On Mon, Jul 17, 2017 at 04:19:24PM +0200, Nicolas George wrote:
> These wrappers cost nothing, they make the namespace more
> consistent and they will be useful if/when locking becomes
> necessary.
> 
> Signed-off-by: Nicolas George <geo...@nsup.org>
> ---
>  libavfilter/filters.h | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/libavfilter/filters.h b/libavfilter/filters.h
> index 370d99b38b..1cbc18158f 100644
> --- a/libavfilter/filters.h
> +++ b/libavfilter/filters.h
> @@ -26,6 +26,7 @@
>   */
>  
>  #include "avfilter.h"
> +#include "internal.h"
>  
>  /**
>   * Special return code when activate() did not do anything.
> @@ -139,4 +140,24 @@ int ff_inlink_acknowledge_status(AVFilterLink *link, int 
> *rstatus, int64_t *rpts
>   */
>  void ff_inlink_request_frame(AVFilterLink *link);
>  
> +/**
> + * Test if a frame is wanted on an output link.
> + */
> +static inline int ff_outlink_frame_wanted(AVFilterLink *link)
> +{
> +    return link->frame_wanted_out;
> +}

LGTM

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to