You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
h264: drop redundant initialization of the scaling matrices
It will always be initialized when actually parsing the PPS.
This commit is contained in:
@@ -631,9 +631,6 @@ av_cold int ff_h264_decode_init(AVCodecContext *avctx)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
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 */
|
/* set defaults */
|
||||||
// s->decode_mb = ff_h263_decode_mb;
|
// s->decode_mb = ff_h263_decode_mb;
|
||||||
if (!avctx->has_b_frames)
|
if (!avctx->has_b_frames)
|
||||||
|
Reference in New Issue
Block a user