diff options
author | Alexandra Hájková <alexandra.khirnova@gmail.com> | 2015-07-17 15:17:07 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-07-19 10:20:01 +0300 |
commit | e61f39849c2e2b7f492c17b42058242ed2fa4d57 (patch) | |
tree | 6768b121133914d4ccc84cfc17442ed1fb5660e3 /libavformat | |
parent | 2883ef34b59c9b427c4cfad4620c3235e5778406 (diff) |
asfdec: make nb_sub to be unsigned int
number of subpayloads should be always positive
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/asfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 8b0d82a790..6613ec6965 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -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; |