summaryrefslogtreecommitdiff
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-09-02 23:25:57 +0000
committerDiego Biurrun <diego@biurrun.de>2008-09-02 23:25:57 +0000
commit2a43a093edd8e717cc14d3cf14a8562f7f711f02 (patch)
tree59dc488953ba5ec2ea06299af99a0923f04c5b99 /libavcodec/dv.c
parentab210908692a979834c59661c6d4ed0fff2370f5 (diff)
Replace generic CONFIG_DECODERS preprocessor conditionals by more specific
CONFIG_FOO_DECODER conditionals where appropriate. Originally committed as revision 15162 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index 71022463af..876e93fe64 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -1019,7 +1019,7 @@ static int dv_encode_mt(AVCodecContext *avctx, void* sl)
}
#endif
-#ifdef CONFIG_DECODERS
+#ifdef CONFIG_DVVIDEO_DECODER
/* NOTE: exactly one frame must be given (120000 bytes for NTSC,
144000 bytes for PAL - or twice those for 50Mbps) */
static int dvvideo_decode_frame(AVCodecContext *avctx,
@@ -1060,7 +1060,7 @@ static int dvvideo_decode_frame(AVCodecContext *avctx,
return s->sys->frame_size;
}
-#endif
+#endif /* CONFIG_DVVIDEO_DECODER */
static inline int dv_write_pack(enum dv_pack_type pack_id, DVVideoContext *c, uint8_t* buf)