diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 459030c7e1..199a3b9850 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -3000,7 +3000,6 @@ static int decode_nal_units(HEVCContext *s, const uint8_t *buf, int length) /* parse the NAL units */ for (i = 0; i < s->nb_nals; i++) { - int ret; s->skipped_bytes = s->skipped_bytes_nal[i]; s->skipped_bytes_pos = s->skipped_bytes_pos_nal[i];