You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/osq: fix type of nb_samples
Fixes crash caused by signed integer overflow.
This commit is contained in:
@@ -52,7 +52,7 @@ typedef struct OSQContext {
|
|||||||
|
|
||||||
int decorrelate;
|
int decorrelate;
|
||||||
int frame_samples;
|
int frame_samples;
|
||||||
int64_t nb_samples;
|
uint64_t nb_samples;
|
||||||
|
|
||||||
int32_t *decode_buffer[2];
|
int32_t *decode_buffer[2];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user