X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fcuviddec.c;h=1e5e3ea9a6682ab99061d681b1d5906ae72bf767;hb=6e30b35b85b81c802e52a1078ec7a3097e353c6d;hp=ec57afdefe76d3efe924b6b268592c0c8d618cd7;hpb=3b56fa85e8f50db83b54518ae31ebdb3f6b0cc39;p=ffmpeg diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c index ec57afdefe7..1e5e3ea9a66 100644 --- a/libavcodec/cuviddec.c +++ b/libavcodec/cuviddec.c @@ -614,11 +614,6 @@ static int cuvid_output_frame(AVCodecContext *avctx, AVFrame *frame) /* CUVIDs opaque reordering breaks the internal pkt logic. * So set pkt_pts and clear all the other pkt_ fields. */ -#if FF_API_PKT_PTS -FF_DISABLE_DEPRECATION_WARNINGS - frame->pkt_pts = frame->pts; -FF_ENABLE_DEPRECATION_WARNINGS -#endif frame->pkt_pos = -1; frame->pkt_duration = 0; frame->pkt_size = -1;