]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/audiotoolboxdec.c
aacenc: use the decoder's lcg PRNG
[ffmpeg] / libavcodec / audiotoolboxdec.c
index 10976684370393a0f7fbc604962702e8f5ce62ba..3066d47b11decc0f59cfe10983c3f1fc9dbd3ad8 100644 (file)
@@ -554,7 +554,12 @@ static int ffat_decode(AVCodecContext *avctx, void *data,
         ffat_copy_samples(avctx, frame);
         *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) {