PR #22627 opened by Niklas Haas (haasn) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22627 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22627.patch
Signed-off-by: Niklas Haas <[email protected]> >From 12b0ab38699319355e575b3b85a6f65ab3a3f1d4 Mon Sep 17 00:00:00 2001 From: Niklas Haas <[email protected]> Date: Thu, 26 Mar 2026 15:34:01 +0100 Subject: [PATCH] avfilter/buffersrc: use 1 << n for flags (cosmetic) Signed-off-by: Niklas Haas <[email protected]> --- libavfilter/buffersrc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/buffersrc.h b/libavfilter/buffersrc.h index c7225b6752..75824d964d 100644 --- a/libavfilter/buffersrc.h +++ b/libavfilter/buffersrc.h @@ -38,19 +38,19 @@ enum { /** * Do not check for format changes. */ - AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT = 1, + AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT = 1 << 0, /** * Immediately push the frame to the output. */ - AV_BUFFERSRC_FLAG_PUSH = 4, + AV_BUFFERSRC_FLAG_PUSH = 1 << 2, /** * Keep a reference to the frame. * If the frame if reference-counted, create a new reference; otherwise * copy the frame data. */ - AV_BUFFERSRC_FLAG_KEEP_REF = 8, + AV_BUFFERSRC_FLAG_KEEP_REF = 1 << 3, }; -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
