[libav-devel] [PATCH] pixdesc: extend size of the AVPixFmtDescriptor.flags field

wm4 nfxjfg at googlemail.com
Sat Aug 29 19:58:30 CEST 2015


---
Also adding some doxygen. Not bothering with a bump.
---
 doc/APIchanges      | 3 +++
 libavutil/pixdesc.h | 6 +++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/doc/APIchanges b/doc/APIchanges
index e500ac8..6a3d457 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -13,6 +13,9 @@ libavutil:     2015-08-28
 
 API changes, most recent first:
 
+2015-xx-xx - lavu 54.0.0
+  Change type of AVPixFmtDescriptor.flags.
+
 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 3513913..c36f5d1 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
-- 
2.5.0



More information about the libav-devel mailing list