---
 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)


_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to