aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Högberg <john.hogberg@ericsson.com>2015-08-07 19:30:38 +0000
committerLuca Barbato <lu_zero@gentoo.org>2015-08-21 12:03:36 +0200
commitf9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068 (patch)
tree7eb8a42913dd64e99e869f8083dfd8b3bd226b4f
parent47b447aaff1bc30ba986ca757346a2c5c95b786a (diff)
downloadffmpeg-f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068.tar.gz
h264: Discard currently unsupported registered sei
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rw-r--r--libavcodec/h264_sei.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c
index 8b07682c7e..361d4deb1a 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;