avcodec/hevc_sei: remove the duplicate check

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
Limin Wang 2021-10-13 19:06:40 +08:00
parent b22b8e5489
commit 0feb7c8601
1 changed files with 0 additions and 3 deletions

View File

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