Module: libav Branch: master Commit: f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068
Author: John Högberg <[email protected]> Committer: Luca Barbato <[email protected]> Date: Fri Aug 7 19:30:38 2015 +0000 h264: Discard currently unsupported registered sei Signed-off-by: Luca Barbato <[email protected]> --- libavcodec/h264_sei.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c index 8b07682..361d4de 100644 --- a/libavcodec/h264_sei.c +++ b/libavcodec/h264_sei.c @@ -169,6 +169,12 @@ static int decode_registered_user_data_closed_caption(H264Context *h, int size) 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; _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
