]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/audiotoolboxdec.c
avutil/frame: Remove deprecated AVFrame.pkt_pts field
[ffmpeg] / libavcodec / audiotoolboxdec.c
index bf3e00959f6967181b3cc8f15e548bfb090fa8cb..fa55f5898817eadb7120de4b0b30590f25bbd947 100644 (file)
@@ -540,11 +540,6 @@ static int ffat_decode(AVCodecContext *avctx, void *data,
         *got_frame_ptr = 1;
         if (at->last_pts != AV_NOPTS_VALUE) {
             frame->pts = at->last_pts;
-#if FF_API_PKT_PTS
-FF_DISABLE_DEPRECATION_WARNINGS
-            frame->pkt_pts = at->last_pts;
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
             at->last_pts = avpkt->pts;
         }
     } else if (ret && ret != 1) {