ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Sun Apr 27 20:14:35 2025 +0200| [0a12b84d3b4025d55c443e5356d6eba546bcc1bb] | committer: Andreas Rheinhardt
avformat/apvdec: Use ffio_read_size() Fixes potential use of uninitialized data. Reviewed-by: Mark Thompson <s...@jkqxz.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0a12b84d3b4025d55c443e5356d6eba546bcc1bb --- libavformat/apvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/apvdec.c b/libavformat/apvdec.c index e1ac34b003..9f94a901ec 100644 --- a/libavformat/apvdec.c +++ b/libavformat/apvdec.c @@ -164,7 +164,7 @@ static int apv_read_header(AVFormatContext *s) err = ffio_ensure_seekback(s->pb, sizeof(buffer)); if (err < 0) return err; - size = avio_read(s->pb, buffer, sizeof(buffer)); + size = ffio_read_size(s->pb, buffer, sizeof(buffer)); if (size < 0) return size; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".