summaryrefslogtreecommitdiff
path: root/libavcodec/raw.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-04-21 00:47:55 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2007-04-21 00:47:55 +0000
commit11fde35d7c0cfc0dead5c9bfd01e7f597b0da4c2 (patch)
treefad47cc85d539b681f15b6123d614e38a38469e0 /libavcodec/raw.c
parent4ea385bbbc9cd4f64b851c483e4be572b8a50640 (diff)
downloadffmpeg-11fde35d7c0cfc0dead5c9bfd01e7f597b0da4c2.tar.gz
compile rawvideo decoder on request
Originally committed as revision 8767 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/raw.c')
-rw-r--r--libavcodec/raw.c2
1 files changed, 2 insertions, 0 deletions
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