]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
the ongoing struggle for encoding conditionals
authormelanson <melanson@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 13 Jun 2004 00:10:07 +0000 (00:10 +0000)
committermelanson <melanson@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 13 Jun 2004 00:10:07 +0000 (00:10 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3220 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/svq1.c

index 24b852b5111a8c0361d4a3f0e8b78a10952233ef..25bc44fd1a1b3d9e72d07e73a1d36d9cbc7ae32c 100644 (file)
@@ -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,