avcodec/hevc_sei: remove the duplicate check

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
pull/373/head
Limin Wang 3 years ago
parent b22b8e5489
commit 0feb7c8601
  1. 3
      libavcodec/hevc_sei.c

@ -181,9 +181,6 @@ static int decode_registered_user_data_closed_caption(HEVCSEIA53Caption *s, GetB
{ {
int ret; int ret;
if (size < 3)
return AVERROR_INVALIDDATA;
ret = ff_parse_a53_cc(&s->buf_ref, gb->buffer + get_bits_count(gb) / 8, size); ret = ff_parse_a53_cc(&s->buf_ref, gb->buffer + get_bits_count(gb) / 8, size);
if (ret < 0) if (ret < 0)

Loading…
Cancel
Save