aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/svq1.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2004-06-13 00:10:07 +0000
committerMike Melanson <mike@multimedia.cx>2004-06-13 00:10:07 +0000
commit975af7a99225bdf783d580ff626678177c6ada50 (patch)
tree3df490f35f919ea06a118e3a5acf01c4f9fcf484 /libavcodec/svq1.c
parent715731a32b461cd819d08c206bafc4e415ae504a (diff)
downloadffmpeg-975af7a99225bdf783d580ff626678177c6ada50.tar.gz
the ongoing struggle for encoding conditionals
Originally committed as revision 3220 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq1.c')
-rw-r--r--libavcodec/svq1.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/svq1.c b/libavcodec/svq1.c
index 24b852b511..25bc44fd1a 100644
--- a/libavcodec/svq1.c
+++ b/libavcodec/svq1.c
@@ -1067,6 +1067,8 @@ static int encode_block(SVQ1Context *s, uint8_t *src, uint8_t *ref, uint8_t *dec
return best_score;
}
+#ifdef CONFIG_ENCODERS
+
static void svq1_encode_plane(SVQ1Context *s, int plane, unsigned char *src_plane, unsigned char *ref_plane, unsigned char *decoded_plane,
int width, int height, int src_stride, int stride)
{
@@ -1367,6 +1369,8 @@ static int svq1_encode_end(AVCodecContext *avctx)
return 0;
}
+#endif //CONFIG_ENCODERS
+
AVCodec svq1_decoder = {
"svq1",
CODEC_TYPE_VIDEO,