From 46b0fce627d6ac2a79e8327ca21b476a90b486bc Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Thu, 15 Jan 2015 16:41:15 +0100
Subject: [PATCH] avutil/pixfmt: Document the duplicated AV_PIX_FMT_GBRAP*
 formats

This is similar to the other duplicated cases

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 libavutil/pixfmt.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
index d82051ac45a..bf74e5a791f 100644
--- a/libavutil/pixfmt.h
+++ b/libavutil/pixfmt.h
@@ -239,6 +239,11 @@ enum AVPixelFormat {
     AV_PIX_FMT_YA16BE,       ///< 16bit gray, 16bit alpha (big-endian)
     AV_PIX_FMT_YA16LE,       ///< 16bit gray, 16bit alpha (little-endian)
 
+    /**
+     * duplicated pixel formats for compatibility with libav.
+     * FFmpeg supports these formats since May 3 2013 (commit e6d4e687558d08187e7a415a7725e4b1a416f782)
+     * Libav added them Jan 14 2015 with incompatible values (commit 0e6c7dfa650e8b0497bfa7a06394b7a462ddc33a)
+     */
     AV_PIX_FMT_GBRAP_LIBAV,        ///< planar GBRA 4:4:4:4 32bpp
     AV_PIX_FMT_GBRAP16BE_LIBAV,    ///< planar GBRA 4:4:4:4 64bpp, big-endian
     AV_PIX_FMT_GBRAP16LE_LIBAV,    ///< planar GBRA 4:4:4:4 64bpp, little-endian
-- 
GitLab