X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fjpeglsenc.c;h=fef06815ac9f2ed8ce4f2b96a03d31b6fc758a25;hb=6d6b0c96fdc576f4643e3d4066e5ebebdb693ade;hp=08ef71f71691e7fb5462af956f2ea4c60b9611ae;hpb=ba87f0801d77c21eb1e4891ca1f846500bbb0939;p=ffmpeg diff --git a/libavcodec/jpeglsenc.c b/libavcodec/jpeglsenc.c index 08ef71f7169..fef06815ac9 100644 --- a/libavcodec/jpeglsenc.c +++ b/libavcodec/jpeglsenc.c @@ -245,7 +245,7 @@ static int encode_picture_ls(AVCodecContext *avctx, unsigned char *buf, int buf_ init_put_bits(&pb2, buf2, buf_size); *p = *pict; - p->pict_type= FF_I_TYPE; + p->pict_type= AV_PICTURE_TYPE_I; p->key_frame= 1; if(avctx->pix_fmt == PIX_FMT_GRAY8 || avctx->pix_fmt == PIX_FMT_GRAY16) @@ -382,7 +382,7 @@ static av_cold int encode_init_ls(AVCodecContext *ctx) { return 0; } -AVCodec jpegls_encoder = { //FIXME avoid MPV_* lossless JPEG should not need them +AVCodec ff_jpegls_encoder = { //FIXME avoid MPV_* lossless JPEG should not need them "jpegls", AVMEDIA_TYPE_VIDEO, CODEC_ID_JPEGLS,