From 11fde35d7c0cfc0dead5c9bfd01e7f597b0da4c2 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Sat, 21 Apr 2007 00:47:55 +0000 Subject: [PATCH] compile rawvideo decoder on request Originally committed as revision 8767 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/raw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/raw.c b/libavcodec/raw.c index 2687798034..7e681dccac 100644 --- a/libavcodec/raw.c +++ b/libavcodec/raw.c @@ -212,6 +212,7 @@ AVCodec rawvideo_encoder = { }; #endif // CONFIG_RAWVIDEO_ENCODER +#ifdef CONFIG_RAWVIDEO_DECODER AVCodec rawvideo_decoder = { "rawvideo", CODEC_TYPE_VIDEO, @@ -222,3 +223,4 @@ AVCodec rawvideo_decoder = { raw_close_decoder, raw_decode, }; +#endif // CONFIG_RAWVIDEO_DECODER