compile rawvideo decoder on request
authorAlex Beregszaszi <alex@rtfs.hu>
Sat, 21 Apr 2007 00:47:55 +0000 (00:47 +0000)
committerAlex Beregszaszi <alex@rtfs.hu>
Sat, 21 Apr 2007 00:47:55 +0000 (00:47 +0000)
Originally committed as revision 8767 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/raw.c

index 2687798..7e681dc 100644 (file)
@@ -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