diff --git a/libavdevice/x11grab.c b/libavdevice/x11grab.c index 524bdd15db..ff37d762a6 100644 --- a/libavdevice/x11grab.c +++ b/libavdevice/x11grab.c @@ -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;