changeset 34804:664152973dbc

Fix -vo png:alpha with newer FFmpeg.
author cehoyos
date Tue, 08 May 2012 10:53:40 +0000
parents 2f751a18aaac
children 0eba64545a27
files libvo/vo_png.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;