Use enum PixelFormat as type for input_pixfmt to avoid one icc warning.

Originally committed as revision 20859 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Carl Eugen Hoyos 15 years ago
parent 3db77ccf38
commit 1f15747fc9
  1. 2
      libavdevice/x11grab.c

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

Loading…
Cancel
Save