You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +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:
committed by
Anton Khirnov
parent
2883ef34b5
commit
e61f39849c
@@ -134,7 +134,7 @@ typedef struct ASFContext {
|
|||||||
|
|
||||||
// packet state
|
// packet state
|
||||||
uint64_t sub_left; // subpayloads left or not
|
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
|
uint16_t mult_sub_len; // total length of subpayloads array inside multiple payload
|
||||||
uint64_t nb_mult_left; // multiple payloads left
|
uint64_t nb_mult_left; // multiple payloads left
|
||||||
int return_subpayload;
|
int return_subpayload;
|
||||||
|
Reference in New Issue
Block a user