From b628cafd48f7a5014da3847a38855641cef7a85c Mon Sep 17 00:00:00 2001 From: Zane van Iperen Date: Thu, 5 Feb 2026 22:19:48 +1000 Subject: [PATCH] libavformat/argo_brp: fix incorrect ASF chunk header read Was inadvertently broken in the switch to ffio_read_size(). Fixes: 6dd83fab44ca309b02b4ca1baea3ca9ed8b6180f PR: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21650 Reviewed-by: Andreas Rheinhardt Signed-off-by: Zane van Iperen --- libavformat/argo_brp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/argo_brp.c b/libavformat/argo_brp.c index 9d898d3193..ea438e19f9 100644 --- a/libavformat/argo_brp.c +++ b/libavformat/argo_brp.c @@ -309,7 +309,7 @@ static int argo_brp_read_header(AVFormatContext *s) if (blk.size < ASF_CHUNK_HEADER_SIZE) return AVERROR_INVALIDDATA; - ret = ffio_read_size(pb, buf, BRP_BLOCK_HEADER_SIZE); + ret = ffio_read_size(pb, buf, ASF_CHUNK_HEADER_SIZE); if (ret < 0) return ret;