avfilter/buffersrc: use 1 << n for flags (cosmetic)

Signed-off-by: Niklas Haas <git@haasn.dev>
This commit is contained in:
Niklas Haas
2026-03-26 15:34:01 +01:00
committed by Niklas Haas
parent 33f837a9e9
commit d33403ba50
+3 -3
View File
@@ -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,
};