diff options
author | Alexandra Hájková <alexandra.khirnova@gmail.com> | 2015-07-17 14:17:07 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-07-19 09:20:01 +0200 |
commit | e61f39849c2e2b7f492c17b42058242ed2fa4d57 (patch) | |
tree | 6768b121133914d4ccc84cfc17442ed1fb5660e3 | |
parent | 2883ef34b59c9b427c4cfad4620c3235e5778406 (diff) | |
download | ffmpeg-e61f39849c2e2b7f492c17b42058242ed2fa4d57.tar.gz |
asfdec: make nb_sub to be unsigned int
number of subpayloads should be always positive
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-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; |