diff sub/sub_cc.c @ 34761:02a03e00341e

Support EIA-608 captions in MOV.
author reimar
date Sat, 07 Apr 2012 20:08:53 +0000
parents 430e164238d1
children dd77d5a292df
line wrap: on
line diff
--- a/sub/sub_cc.c	Sat Apr 07 19:37:11 2012 +0000
+++ b/sub/sub_cc.c	Sat Apr 07 20:08:53 2012 +0000
@@ -126,6 +126,13 @@
 	initialized=1;
 }
 
+void subcc_reset(void)
+{
+    if (!initialized)
+        return;
+    clear_buffer(&buf1);
+    clear_buffer(&buf2);
+}
 
 static void display_buffer(subtitle *buf)
 {