PR #21650 opened by Zane van Iperen (zane)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21650
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21650.patch

Was inadvertantly broken in the switch to ffio_read_size().

Fixes: 6dd83fab44ca309b02b4ca1baea3ca9ed8b6180f

Signed-off-by: Zane van Iperen <[email protected]>


>From 9561462117ff7399daf6a3a1262ab87f9f16b9c7 Mon Sep 17 00:00:00 2001
From: Zane van Iperen <[email protected]>
Date: Thu, 5 Feb 2026 21:31:45 +1000
Subject: [PATCH] libavformat/argo_brp: fix incorrect ASF chunk header read

Was inadvertantly broken in the switch to ffio_read_size().

Fixes: 6dd83fab44ca309b02b4ca1baea3ca9ed8b6180f

Signed-off-by: Zane van Iperen <[email protected]>
---
 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;
 
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to