ffmpeg | branch: master | Anton Khirnov <an...@khirnov.net> | Sun Mar 29 12:18:36 2015 +0200| [65afa65e7393e7745427e267d6c6ca814c7c8b45] | committer: Anton Khirnov
h264: drop redundant initialization of the scaling matrices It will always be initialized when actually parsing the PPS. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=65afa65e7393e7745427e267d6c6ca814c7c8b45 --- libavcodec/h264.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index f7857db..8d5ce45 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -631,9 +631,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) _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog