Commit 8983dea4 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'c673fc91'

* commit 'c673fc91':
  hevc_sei: drop unused parameter

Conflicts:
	libavcodec/hevc_sei.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 2c6e693c c673fc91
......@@ -25,8 +25,7 @@
#include "hevc.h"
#include "golomb.h"
static void decode_nal_sei_decoded_picture_hash(HEVCContext *s,
int payload_size)
static void decode_nal_sei_decoded_picture_hash(HEVCContext *s)
{
int cIdx, i;
uint8_t hash_type;
......@@ -145,7 +144,7 @@ static int decode_nal_sei_message(HEVCContext *s)
}
if (s->nal_unit_type == NAL_SEI_PREFIX) {
if (payload_type == 256 /*&& s->decode_checksum_sei*/) {
decode_nal_sei_decoded_picture_hash(s, payload_size);
decode_nal_sei_decoded_picture_hash(s);
return 1;
} else if (payload_type == 45) {
decode_nal_sei_frame_packing_arrangement(s);
......@@ -166,7 +165,7 @@ static int decode_nal_sei_message(HEVCContext *s)
}
} else { /* nal_unit_type == NAL_SEI_SUFFIX */
if (payload_type == 132 /* && s->decode_checksum_sei */)
decode_nal_sei_decoded_picture_hash(s, payload_size);
decode_nal_sei_decoded_picture_hash(s);
else {
av_log(s->avctx, AV_LOG_DEBUG, "Skipped SUFFIX SEI %d\n", payload_type);
skip_bits(gb, 8 * payload_size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment