Commit 0496602083 for ffmpeg

commit 0496602083a8dee7ef6e06eb43d0355a5384156c
Author: Kacper Michajłow <kasper93@gmail.com>
Date:   Sat Oct 24 07:34:31 2026 +0200

    avcodec/apv_decode: set AVFrame.pkt_dts

    Copy the dts of the decoded packet to the frame. decode.c does this only
    for decoders with the decode callback, so it got lost when 084b67f6e3
    moved the decoder to the receive_frame API, and frames decoded from
    packets that carry only a dts have had no timestamp since.

    Fixes: 084b67f6e3
    Signed-off-by: Kacper Michajłow <kasper93@gmail.com>

diff --git a/libavcodec/apv_decode.c b/libavcodec/apv_decode.c
index cde6593602..a6ca9ba8fb 100644
--- a/libavcodec/apv_decode.c
+++ b/libavcodec/apv_decode.c
@@ -513,6 +513,7 @@ static int apv_receive_frame_internal(AVCodecContext *avctx, AVFrame *frame)
         switch (pbu->type) {
         case APV_PBU_PRIMARY_FRAME:
             err = apv_decode(avctx, frame, pbu->content);
+            frame->pkt_dts = apv->pkt->dts;
             i++;
             goto end;
         case APV_PBU_METADATA: