summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-12-14 10:52:32 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-12-14 10:52:32 +0000
commit1f15747fc9650e6ee338c1e037f475eadd29c0be (patch)
tree7b6ab9aa89508a7d63ea3888549580321af288a8 /libavdevice
parent3db77ccf38753cb99da9fc831500d176bed15fa2 (diff)
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
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/x11grab.c2
1 files changed, 1 insertions, 1 deletions
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;