On Mon, Mar 30, 2015 at 10:42 AM, Anton Khirnov <[email protected]> wrote:
> It will always be initialized when actually parsing the PPS.
> ---
>  libavcodec/h264.c | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/libavcodec/h264.c b/libavcodec/h264.c
> index a7b53b9..a559188 100644
> --- a/libavcodec/h264.c
> +++ b/libavcodec/h264.c
> @@ -630,9 +630,6 @@ av_cold int ff_h264_decode_init(AVCodecContext *avctx)
>      if (ret < 0)
>          return ret;
>
> -    memset(h->pps.scaling_matrix4, 16, 6 * 16 * sizeof(uint8_t));
> -    memset(h->pps.scaling_matrix8, 16, 2 * 64 * sizeof(uint8_t));
> -
>      /* set defaults */
>      // s->decode_mb = ff_h263_decode_mb;
>      if (!avctx->has_b_frames)

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

Reply via email to