From b8b5d8274471129f122858bc74ad09284dae6ab7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 2 Sep 2015 18:59:37 +0200 Subject: [PATCH] lavu: extend size of the AVPixFmtDescriptor.flags field Signed-off-by: Vittorio Giovara --- doc/APIchanges | 3 +++ libavutil/pixdesc.h | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index e500ac8bf0..c944fff169 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -13,6 +13,9 @@ libavutil: 2015-08-28 API changes, most recent first: +2015-xx-xx - lavu 55.0.0 + xxxxxxx - Change type of AVPixFmtDescriptor.flags from uint8_t to uint64_t. + 2015-xx-xx - lavu 54.17.0 xxxxxxx - Add av_blowfish_alloc(). xxxxxxx - Add av_rc4_alloc(). diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h index 351391389c..c36f5d12f4 100644 --- a/libavutil/pixdesc.h +++ b/libavutil/pixdesc.h @@ -87,7 +87,11 @@ typedef struct AVPixFmtDescriptor { * This value only refers to the chroma components. */ uint8_t log2_chroma_h; - uint8_t flags; + + /** + * Combination of AV_PIX_FMT_FLAG_... flags. + */ + uint64_t flags; /** * Parameters that describe how pixels are packed. If the format