ffmpeg | branch: master | Paul B Mahol <[email protected]> | Mon Sep 4 14:05:44 2023 +0200| [87b8c1081959e45ffdcbabb3d53ac9882ef2b5ce] | committer: Paul B Mahol
avcodec/osq: fix type of nb_samples Fixes crash caused by signed integer overflow. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=87b8c1081959e45ffdcbabb3d53ac9882ef2b5ce --- libavcodec/osq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/osq.c b/libavcodec/osq.c index 47587cd812..ac091ebc3d 100644 --- a/libavcodec/osq.c +++ b/libavcodec/osq.c @@ -52,7 +52,7 @@ typedef struct OSQContext { int decorrelate; int frame_samples; - int64_t nb_samples; + uint64_t nb_samples; int32_t *decode_buffer[2]; _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
