]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/jpeglsenc.c
Merge remote branch 'qatar/master'
[ffmpeg] / libavcodec / jpeglsenc.c
index ea12ddaae483b07e141b8cca22b0894662baeeee..fef06815ac9f2ed8ce4f2b96a03d31b6fc758a25 100644 (file)
@@ -21,7 +21,7 @@
  */
 
 /**
- * @file libavcodec/jpeglsenc.c
+ * @file
  * JPEG-LS encoder.
  */
 
@@ -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,9 +382,9 @@ 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",
-    CODEC_TYPE_VIDEO,
+    AVMEDIA_TYPE_VIDEO,
     CODEC_ID_JPEGLS,
     sizeof(JpeglsContext),
     encode_init_ls,