summaryrefslogtreecommitdiff
path: root/libavcodec/h264_sei.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-08-24 10:36:07 +0200
committerHendrik Leppkes <h.leppkes@gmail.com>2015-08-24 10:36:07 +0200
commita4c13f95fbe2e1c2a3e55bffcd55d5a679f45253 (patch)
tree0b8d7899361de7e4e6e82d4a7b9c1bf7dae37d5c /libavcodec/h264_sei.c
parent59cae1916e30872448e6cafc85c5632ee42ebd1a (diff)
parentf9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068 (diff)
Merge commit 'f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068'
* commit 'f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068': h264: Discard currently unsupported registered sei Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/h264_sei.c')
-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 fbd582d072..fbb5576b91 100644
--- a/libavcodec/h264_sei.c
+++ b/libavcodec/h264_sei.c
@@ -180,6 +180,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(h->avctx, "Subtitles with data type 0x%02x",
+ user_data_type_code);
+ for (i = 0; i < size - 1; i++)
+ skip_bits(&h->gb, 8);
}
return 0;