Fixes crash caused by signed integer overflow.
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -52,7 +52,7 @@ typedef struct OSQContext { · 51 unmodified lines | ||
| 52 | 52 | |
| 53 | 53 | int decorrelate; |
| 54 | 54 | int frame_samples; |
| 55 | − int64_t nb_samples; | |
| 55 | + uint64_t nb_samples; | |
| 56 | 56 | |
| 57 | 57 | int32_t *decode_buffer[2]; |
| 58 | 58 | |