aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/raw.c
diff options
context:
space:
mode:
authorRoine Gustafsson <roine@users.sourceforge.net>2005-05-10 20:39:11 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-05-10 20:39:11 +0000
commit983ea0bc870abf651531d04f294e975cf837b8c2 (patch)
treeb8b183b7747fb92b9ab7870129ddb0ecb1a956ba /libavcodec/raw.c
parent33f725723f525357861abb4b3be8de250b6a7393 (diff)
downloadffmpeg-983ea0bc870abf651531d04f294e975cf837b8c2.tar.gz
a few #ifdef CONFIG_X_ENCODER, patch by (Roine Gustafsson <roine users.sourceforge net]
Originally committed as revision 4213 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 957a809d8b..e2614e5030 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -172,6 +172,7 @@ static int raw_encode(AVCodecContext *avctx,
avctx->height, frame, buf_size);
}
+#ifdef CONFIG_RAWVIDEO_ENCODER
AVCodec rawvideo_encoder = {
"rawvideo",
CODEC_TYPE_VIDEO,
@@ -180,6 +181,7 @@ AVCodec rawvideo_encoder = {
raw_init_encoder,
raw_encode,
};
+#endif // CONFIG_RAWVIDEO_ENCODER
AVCodec rawvideo_decoder = {
"rawvideo",