diff asv1.c @ 6788:e1302edb0f69 libavcodec

Replace some occurrences of -1 with PIX_FMT_NONE. Fixes icc warning #188: enumerated type mixed with another type
author cehoyos
date Sun, 11 May 2008 22:28:43 +0000
parents a4104482ceef
children 8decc970f9c8
line wrap: on
line diff
--- a/asv1.c	Sun May 11 20:26:35 2008 +0000
+++ b/asv1.c	Sun May 11 22:28:43 2008 +0000
@@ -639,7 +639,7 @@
     encode_init,
     encode_frame,
     //encode_end,
-    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
+    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
     .long_name= "ASUS V1",
 };
 
@@ -651,7 +651,7 @@
     encode_init,
     encode_frame,
     //encode_end,
-    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
+    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
     .long_name= "ASUS V2",
 };