Mercurial > libavcodec.hg
diff dv.c @ 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 | 20545fbb6f7c |
children | c8c591fe26f8 |
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) {