diff --git a/libmpcodecs/vf_zrmjpeg.c b/libmpcodecs/vf_zrmjpeg.c index d74a4db9f5..731569ba19 100644 --- a/libmpcodecs/vf_zrmjpeg.c +++ b/libmpcodecs/vf_zrmjpeg.c @@ -452,7 +452,7 @@ static jpeg_enc_t *jpeg_enc_init(int w, int h, int y_rsize, j->s->out_format = FMT_MJPEG; j->s->intra_only = 1; // Generate only intra pictures for jpeg j->s->encoding = 1; // Set mode to encode - j->s->pict_type = I_TYPE; + j->s->pict_type = FF_I_TYPE; j->s->y_dc_scale = 8; j->s->c_dc_scale = 8;