mpegvideo_enc: Don't call ff_h263dsp_init unconditionally
This fixes builds with e.g. --disable-decoders --disable-encoders --enable-encoder=mjpeg. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
19987fa18c
commit
cff480e49d
@ -708,6 +708,7 @@ av_cold int ff_MPV_encode_init(AVCodecContext *avctx)
|
|||||||
2 * 64 * sizeof(uint16_t), fail);
|
2 * 64 * sizeof(uint16_t), fail);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (CONFIG_H263_ENCODER)
|
||||||
ff_h263dsp_init(&s->h263dsp);
|
ff_h263dsp_init(&s->h263dsp);
|
||||||
if (!s->dct_quantize)
|
if (!s->dct_quantize)
|
||||||
s->dct_quantize = ff_dct_quantize_c;
|
s->dct_quantize = ff_dct_quantize_c;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user