mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-03 14:32:16 +02:00
asfdec: make nb_sub to be unsigned int
number of subpayloads should be always positive Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
2883ef34b5
commit
e61f39849c
@ -134,7 +134,7 @@ typedef struct ASFContext {
|
||||
|
||||
// packet state
|
||||
uint64_t sub_left; // subpayloads left or not
|
||||
int nb_sub; // number of subpayloads read so far from the current ASF packet
|
||||
unsigned int nb_sub; // number of subpayloads read so far from the current ASF packet
|
||||
uint16_t mult_sub_len; // total length of subpayloads array inside multiple payload
|
||||
uint64_t nb_mult_left; // multiple payloads left
|
||||
int return_subpayload;
|
||||
|
Loading…
x
Reference in New Issue
Block a user