# HG changeset patch # User diego # Date 1159726789 0 # Node ID e1986d9ddc2d7f16b76d4b3d59414872821d12aa # Parent 5ad55a4e42c2730a20e4e4ecd004c2f8b178b7e0 Fix compilation with --disable-encoders. patch by Alexander Strange, astrange at ithinksw dot com diff -r 5ad55a4e42c2 -r e1986d9ddc2d dv.c --- 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) {