[FFmpeg-cvslog] imgconvert: add PIX_FMT_GRAY8A to pix_fmt_info
    Michael Niedermayer 
    git at videolan.org
       
    Sun Jan 15 07:42:13 CET 2012
    
    
  
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jan 15 02:40:18 2012 +0100| [d9816cd5df2200bc41c244298cdd30fc3475d038] | committer: Michael Niedermayer
imgconvert: add PIX_FMT_GRAY8A to pix_fmt_info
Fixes selecting gray8a for PAM
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d9816cd5df2200bc41c244298cdd30fc3475d038
---
 libavcodec/imgconvert.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index 8248793..bbeb5a5 100644
--- a/libavcodec/imgconvert.c
+++ b/libavcodec/imgconvert.c
@@ -184,6 +184,10 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
     [PIX_FMT_GRAY8] = {
         .color_type = FF_COLOR_GRAY,
     },
+    [PIX_FMT_GRAY8A] = {
+        .is_alpha = 1,
+        .color_type = FF_COLOR_GRAY,
+    },
     [PIX_FMT_MONOWHITE] = {
         .color_type = FF_COLOR_GRAY,
     },
    
    
More information about the ffmpeg-cvslog
mailing list