h264: Discard currently unsupported registered sei

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
John Högberg 2015-08-07 19:30:38 +00:00 committed by Luca Barbato
parent 47b447aaff
commit f9ab4fe1f7
1 changed files with 6 additions and 0 deletions

View File

@ -169,6 +169,12 @@ static int decode_registered_user_data_closed_caption(H264Context *h, int size)
skip_bits(&h->gb, 8); // marker_bits skip_bits(&h->gb, 8); // marker_bits
} }
} }
} else {
int i;
avpriv_request_sample("Subtitles with data type 0x%02x",
user_data_type_code);
for (i = 0; i < size - 1; i++)
skip_bits(&h->gb, 8);
} }
return 0; return 0;