Mercurial > libavcodec.hg
diff mjpeg.c @ 1530:3b31998fe22f libavcodec
disable encoders where appropriate (patch courtesy of BERO
<bero -at- geocities.co.jp>)
author | melanson |
---|---|
date | Tue, 14 Oct 2003 04:15:53 +0000 |
parents | 79dddc5cd990 |
children | dd544554ed42 |
line wrap: on
line diff
--- a/mjpeg.c Mon Oct 13 19:38:34 2003 +0000 +++ b/mjpeg.c Tue Oct 14 04:15:53 2003 +0000 @@ -243,6 +243,7 @@ } } +#ifdef CONFIG_ENCODERS int mjpeg_init(MpegEncContext *s) { MJpegContext *m; @@ -280,6 +281,7 @@ { av_free(s->mjpeg_ctx); } +#endif //CONFIG_ENCODERS #define PREDICT(ret, topleft, top, left, predictor)\ switch(predictor){\