Quoting Andreas Rheinhardt (2022-07-01 00:29:40)
> diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h
> index e2dba54f26..b97b7d1354 100644
> --- a/libavcodec/hevcdec.h
> +++ b/libavcodec/hevcdec.h
> @@ -226,6 +226,11 @@ enum ScanType {
>      SCAN_VERT,
>  };
>  
> +typedef struct HEVCCABACState {
> +    uint8_t state[HEVC_CONTEXTS];
> +    uint8_t stat_coeff[HEVC_STAT_COEFFS];
> +} HEVCCABACState;

Might be good to mention why this is allocated separately from
HEVCContext.

Otherwise patch looks good.

-- 
Anton Khirnov
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to