On 27/06/15 19:42, Andreas Cadhalpun wrote:
> Signed-off-by: Andreas Cadhalpun <[email protected]>
> ---
>  libavcodec/huffyuvdec.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c
> index 98c6128..71fb9e3 100644
> --- a/libavcodec/huffyuvdec.c
> +++ b/libavcodec/huffyuvdec.c
> @@ -291,6 +291,12 @@ static av_cold int decode_init(AVCodecContext *avctx)
>      HYuvContext *s = avctx->priv_data;
>      int ret;
>  

There is a function to validate the dimensions. That isn't enough, I
think I sent a patch recently that does that for another codec.

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

Reply via email to