diff libvo/vo_png.c @ 34804:664152973dbc

Fix -vo png:alpha with newer FFmpeg.
author cehoyos
date Tue, 08 May 2012 10:53:40 +0000
parents 7e0f50b4921c
children 8517826b0dbd
line wrap: on
line diff
--- a/libvo/vo_png.c	Sun May 06 13:26:31 2012 +0000
+++ b/libvo/vo_png.c	Tue May 08 10:53:40 2012 +0000
@@ -205,7 +205,7 @@
     switch(format){
     case IMGFMT_RGB24:
         return use_alpha ? 0 : supported_flags;
-    case IMGFMT_BGR32:
+    case IMGFMT_RGBA:
         return use_alpha ? supported_flags : 0;
     }
     return 0;