* [FFmpeg-devel] [PR] libavformat/argo_brp: fix incorrect ASF chunk header read (PR #21650)
@ 2026-02-05 11:37 Zane van Iperen via ffmpeg-devel
0 siblings, 0 replies; only message in thread
From: Zane van Iperen via ffmpeg-devel @ 2026-02-05 11:37 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Zane van Iperen
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 <zane@zanevaniperen.com>
>From 9561462117ff7399daf6a3a1262ab87f9f16b9c7 Mon Sep 17 00:00:00 2001
From: Zane van Iperen <zane@zanevaniperen.com>
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 <zane@zanevaniperen.com>
---
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 -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-02-05 11:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-05 11:37 [FFmpeg-devel] [PR] libavformat/argo_brp: fix incorrect ASF chunk header read (PR #21650) Zane van Iperen via ffmpeg-devel
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git