]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/jpeglsenc.c
avformat/dashenc: Remove deprecated min_seg_duration option
[ffmpeg] / libavcodec / jpeglsenc.c
index d03ce32f41cc94fc1ed5c065a18330268879ce0a..0f109c1304176942f53cef29dd8038349fe82940 100644 (file)
@@ -282,13 +282,6 @@ static int encode_picture_ls(AVCodecContext *avctx, AVPacket *pkt,
     int i, size, ret;
     int comps;
 
-#if FF_API_PRIVATE_OPT
-FF_DISABLE_DEPRECATION_WARNINGS
-    if (avctx->prediction_method)
-        ctx->pred = avctx->prediction_method;
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
-
     if (avctx->pix_fmt == AV_PIX_FMT_GRAY8 ||
         avctx->pix_fmt == AV_PIX_FMT_GRAY16)
         comps = 1;