changeset 3806:e1986d9ddc2d libavcodec

Fix compilation with --disable-encoders. patch by Alexander Strange, astrange at ithinksw dot com
author diego
date Sun, 01 Oct 2006 18:19:49 +0000
parents 5ad55a4e42c2
children 6a40092eb9e6
files dv.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dv.c	Sun Oct 01 17:38:07 2006 +0000
+++ b/dv.c	Sun Oct 01 18:19:49 2006 +0000
@@ -1196,7 +1196,7 @@
 }
 
 
-
+#ifdef CONFIG_ENCODERS
 static int dvvideo_encode_frame(AVCodecContext *c, uint8_t *buf, int buf_size,
                                 void *data)
 {
@@ -1223,6 +1223,7 @@
 
     return s->sys->frame_size;
 }
+#endif
 
 static int dvvideo_close(AVCodecContext *c)
 {