Use enum PixelFormat as type for input_pixfmt to avoid one icc warning.
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Mon, 14 Dec 2009 10:52:32 +0000 (10:52 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Mon, 14 Dec 2009 10:52:32 +0000 (10:52 +0000)
Originally committed as revision 20859 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavdevice/x11grab.c

index 524bdd1..ff37d76 100644 (file)
@@ -85,7 +85,7 @@ x11grab_read_header(AVFormatContext *s1, AVFormatParameters *ap)
     struct x11_grab *x11grab = s1->priv_data;
     Display *dpy;
     AVStream *st = NULL;
-    int input_pixfmt;
+    enum PixelFormat input_pixfmt;
     XImage *image;
     int x_off = 0;
     int y_off = 0;