mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
hevc_sei: drop unused parameter
This commit is contained in:
parent
d234c7a07c
commit
c673fc919c
@ -25,8 +25,7 @@
|
|||||||
#include "golomb.h"
|
#include "golomb.h"
|
||||||
#include "hevc.h"
|
#include "hevc.h"
|
||||||
|
|
||||||
static void decode_nal_sei_decoded_picture_hash(HEVCContext *s,
|
static void decode_nal_sei_decoded_picture_hash(HEVCContext *s)
|
||||||
int payload_size)
|
|
||||||
{
|
{
|
||||||
int cIdx, i;
|
int cIdx, i;
|
||||||
GetBitContext *gb = &s->HEVClc.gb;
|
GetBitContext *gb = &s->HEVClc.gb;
|
||||||
@ -92,7 +91,7 @@ static int decode_nal_sei_message(HEVCContext *s)
|
|||||||
}
|
}
|
||||||
if (s->nal_unit_type == NAL_SEI_PREFIX) {
|
if (s->nal_unit_type == NAL_SEI_PREFIX) {
|
||||||
if (payload_type == 256)
|
if (payload_type == 256)
|
||||||
decode_nal_sei_decoded_picture_hash(s, payload_size);
|
decode_nal_sei_decoded_picture_hash(s);
|
||||||
else if (payload_type == 45)
|
else if (payload_type == 45)
|
||||||
decode_nal_sei_frame_packing_arrangement(&s->HEVClc);
|
decode_nal_sei_frame_packing_arrangement(&s->HEVClc);
|
||||||
else {
|
else {
|
||||||
@ -101,7 +100,7 @@ static int decode_nal_sei_message(HEVCContext *s)
|
|||||||
}
|
}
|
||||||
} else { /* nal_unit_type == NAL_SEI_SUFFIX */
|
} else { /* nal_unit_type == NAL_SEI_SUFFIX */
|
||||||
if (payload_type == 132)
|
if (payload_type == 132)
|
||||||
decode_nal_sei_decoded_picture_hash(s, payload_size);
|
decode_nal_sei_decoded_picture_hash(s);
|
||||||
else {
|
else {
|
||||||
av_log(s->avctx, AV_LOG_DEBUG, "Skipped SUFFIX SEI %d\n", payload_type);
|
av_log(s->avctx, AV_LOG_DEBUG, "Skipped SUFFIX SEI %d\n", payload_type);
|
||||||
skip_bits(gb, 8 * payload_size);
|
skip_bits(gb, 8 * payload_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user