Commit e61f3984 authored by Alexandra Hájková's avatar Alexandra Hájková Committed by Anton Khirnov

asfdec: make nb_sub to be unsigned int

number of subpayloads should be always positive
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 2883ef34
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment