[FFmpeg-devel] [PATCH 45/60] avformat/vividas: fix variable shadowing
Marvin Scholz
epirat07 at gmail.com
Mon Sep 9 02:30:59 EEST 2024
---
libavformat/vividas.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/vividas.c b/libavformat/vividas.c
index 130b81ebbe..4cad6c6456 100644
--- a/libavformat/vividas.c
+++ b/libavformat/vividas.c
@@ -417,7 +417,7 @@ static int track_header(VividasDemuxContext *viv, AVFormatContext *s,
}
for (j = 0; j < num_data; j++) {
- int ret = avio_read(pb, &p[offset], data_len[j]);
+ ret = avio_read(pb, &p[offset], data_len[j]);
if (ret < data_len[j]) {
st->codecpar->extradata_size = 0;
av_freep(&st->codecpar->extradata);
--
2.39.3 (Apple Git-146)
More information about the ffmpeg-devel
mailing list