ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Mon Apr 28 11:31:49 2025 +0200| [f98c63e417d13dc5a30a1d2c2de550d8958f7b10] | committer: Andreas Rheinhardt
avformat/apvdec: Fix seeking pkt->pos pointed to the actual packet data, not to the start of the access unit. Reviewed-by: Mark Thompson <s...@jkqxz.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f98c63e417d13dc5a30a1d2c2de550d8958f7b10 --- libavformat/apvdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/apvdec.c b/libavformat/apvdec.c index 300ee77316..d2c2a50629 100644 --- a/libavformat/apvdec.c +++ b/libavformat/apvdec.c @@ -227,6 +227,7 @@ static int apv_read_packet(AVFormatContext *s, AVPacket *pkt) ret = av_get_packet(s->pb, pkt, au_size); if (ret < 0) return ret; + pkt->pos -= 4; pkt->flags = AV_PKT_FLAG_KEY; signature = AV_RB32(pkt->data); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".