Commit 0542d2bd authored by melanson's avatar melanson

the ongoing struggle for encoding conditionals


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3220 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c2d4ed8f
...@@ -1067,6 +1067,8 @@ static int encode_block(SVQ1Context *s, uint8_t *src, uint8_t *ref, uint8_t *dec ...@@ -1067,6 +1067,8 @@ static int encode_block(SVQ1Context *s, uint8_t *src, uint8_t *ref, uint8_t *dec
return best_score; 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, 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) int width, int height, int src_stride, int stride)
{ {
...@@ -1367,6 +1369,8 @@ static int svq1_encode_end(AVCodecContext *avctx) ...@@ -1367,6 +1369,8 @@ static int svq1_encode_end(AVCodecContext *avctx)
return 0; return 0;
} }
#endif //CONFIG_ENCODERS
AVCodec svq1_decoder = { AVCodec svq1_decoder = {
"svq1", "svq1",
CODEC_TYPE_VIDEO, CODEC_TYPE_VIDEO,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment