summaryrefslogtreecommitdiff
path: root/libavcodec/dv.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/dv.c
parent33f725723f525357861abb4b3be8de250b6a7393 (diff)
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/dv.c')
-rw-r--r--libavcodec/dv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index 94440ed5cd..bc750bcbc6 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -942,6 +942,7 @@ static int dvvideo_encode_frame(AVCodecContext *c, uint8_t *buf, int buf_size,
return s->sys->frame_size;
}
+#ifdef CONFIG_DVVIDEO_ENCODER
AVCodec dvvideo_encoder = {
"dvvideo",
CODEC_TYPE_VIDEO,
@@ -954,6 +955,7 @@ AVCodec dvvideo_encoder = {
CODEC_CAP_DR1,
NULL
};
+#endif // CONFIG_DVVIDEO_ENCODER
AVCodec dvvideo_decoder = {
"dvvideo",