On 07/03/14 17:47, Vittorio Giovara wrote:
> From: Michael Niedermayer <[email protected]>
> 
> Fixes integer overflow and out of array accesses.
> Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
> ---
> Also this is consistent with vps_id and sps_id from h264.
> Vittorio
>  libavcodec/hevc.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
> index accfcb6..4b96087 100644
> --- a/libavcodec/hevc.h
> +++ b/libavcodec/hevc.h
> @@ -382,7 +382,7 @@ typedef struct ScalingList {
>  } ScalingList;
>  
>  typedef struct HEVCSPS {
> -    int vps_id;
> +    unsigned vps_id;
>      int chroma_format_idc;
>      uint8_t separate_colour_plane_flag;

According to grep this is unnecessary.

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to