]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/hevc_sei.c
avcodec/sheervideo: supports some other 8bit formats
[ffmpeg] / libavcodec / hevc_sei.c
index 40685fe5d88c91419a20411d9f8fb21b6304c258..f598b6393a1e1189eeba8eb30617f3e5562588f2 100644 (file)
@@ -373,3 +373,9 @@ int ff_hevc_decode_nal_sei(HEVCContext *s)
     } while (more_rbsp_data(&s->HEVClc->gb));
     return 1;
 }
+
+void ff_hevc_reset_sei(HEVCContext *s)
+{
+    s->a53_caption_size = 0;
+    av_freep(&s->a53_caption);
+}