[FFmpeg-cvslog] h264: Discard currently unsupported registered sei

John Högberg git at videolan.org
Mon Aug 24 10:37:11 CEST 2015


ffmpeg | branch: master | John Högberg <john.hogberg at ericsson.com> | Fri Aug  7 19:30:38 2015 +0000| [f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068] | committer: Luca Barbato

h264: Discard currently unsupported registered sei

Signed-off-by: Luca Barbato <lu_zero at gentoo.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068
---

 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;



More information about the ffmpeg-cvslog mailing list