summaryrefslogtreecommitdiff
path: root/libavformat/x11grab.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-02-07 01:48:09 +0000
committerDiego Biurrun <diego@biurrun.de>2007-02-07 01:48:09 +0000
commit71e445fca3ccc1285068386bf9858d180b0fecfc (patch)
tree230f6ba62bf0a9af096cad7c2a7c332b066e2965 /libavformat/x11grab.c
parent917fa192c72e226ffaddefbe6661ec3c405156cf (diff)
Replace deprecated PIX_FMT names by the newer variants.
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/x11grab.c')
-rw-r--r--libavformat/x11grab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/x11grab.c b/libavformat/x11grab.c
index 86b13ed548..f3e5579fb8 100644
--- a/libavformat/x11grab.c
+++ b/libavformat/x11grab.c
@@ -221,7 +221,7 @@ x11grab_read_header(AVFormatContext *s1, AVFormatParameters *ap)
return AVERROR_IO;
}
#endif
- input_pixfmt = PIX_FMT_RGBA32;
+ input_pixfmt = PIX_FMT_RGB32;
break;
default:
av_log(s1, AV_LOG_ERROR, "image depth %i not supported ... aborting\n", image->bits_per_pixel);