diff options
-rw-r--r-- | src/libffmpeg/libavcodec/svq1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libffmpeg/libavcodec/svq1.c b/src/libffmpeg/libavcodec/svq1.c index a841816af..ec47d374e 100644 --- a/src/libffmpeg/libavcodec/svq1.c +++ b/src/libffmpeg/libavcodec/svq1.c @@ -1064,6 +1064,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) { @@ -1364,6 +1366,8 @@ static int svq1_encode_end(AVCodecContext *avctx) return 0; } +#endif //CONFIG_ENCODERS + AVCodec svq1_decoder = { "svq1", CODEC_TYPE_VIDEO, |