aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2013-11-11 00:29:51 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2013-11-19 14:48:36 +0100
commitc673fc919c374c60b1e6d80d8822712eadf67f16 (patch)
tree188d2eafee3d0ad0694a3ca6d1c2958efff87038 /libavcodec
parentd234c7a07c1313fd215e8e242492bf71f5f3321e (diff)
downloadffmpeg-c673fc919c374c60b1e6d80d8822712eadf67f16.tar.gz
hevc_sei: drop unused parameter
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/hevc_sei.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c
index 8b84abfb45..1cf698bd9d 100644
--- a/libavcodec/hevc_sei.c
+++ b/libavcodec/hevc_sei.c
@@ -25,8 +25,7 @@
#include "golomb.h"
#include "hevc.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;
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 (payload_type == 256)
- decode_nal_sei_decoded_picture_hash(s, payload_size);
+ decode_nal_sei_decoded_picture_hash(s);
else if (payload_type == 45)
decode_nal_sei_frame_packing_arrangement(&s->HEVClc);
else {
@@ -101,7 +100,7 @@ static int decode_nal_sei_message(HEVCContext *s)
}
} else { /* nal_unit_type == NAL_SEI_SUFFIX */
if (payload_type == 132)
- 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);