diff options
Diffstat (limited to 'libavcodec/hevc_sei.c')
-rw-r--r-- | libavcodec/hevc_sei.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c index 24f27c88b5..2de9ac0107 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) { |