On 03/07/15 11:09, Alexandra Hájková wrote:
> found with Coverity Scan
> ---
> libavformat/asfdec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
> index 5116ad5..7988400 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;
>
Shouldn't hurt.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel