X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff_plain/ce7f1c76bd8fc3b4b2dc013ea7e635ed26a8c9fd..1a6948fa708d7f0a950f9caa0256e2d73740e924:/libavcodec/hevc_sei.c diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c index 24f27c8..2de9ac0 100644 --- a/libavcodec/hevc_sei.c +++ b/libavcodec/hevc_sei.c @@ -38,10 +38,9 @@ static void decode_nal_sei_decoded_picture_hash(HEVCContext *s, for (cIdx = 0; cIdx < 3/*((s->sps->chroma_format_idc == 0) ? 1 : 3)*/; cIdx++) { if (hash_type == 0) { s->is_md5 = 1; - for (i = 0; i < 16; i++) { + for (i = 0; i < 16; i++) s->md5[cIdx][i] = get_bits(gb, 8); - } - } else if( hash_type == 1) { + } else if (hash_type == 1) { // picture_crc = get_bits(gb, 16); skip_bits(gb, 16); } else if (hash_type == 2) {