avcodec/osq: fix type of nb_samples

Fixes crash caused by signed integer overflow.
pull/390/head
Paul B Mahol 1 year ago
parent 5d84ac5a40
commit 87b8c10819
  1. 2
      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];

Loading…
Cancel
Save