changeset 3319:609eabc17cb2 libavformat

don't set a dummy chapter title when title is unknown
author aurel
date Fri, 23 May 2008 11:47:11 +0000
parents f63630e08b59
children d3d68f5f388f
files matroskadec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/matroskadec.c	Fri May 23 11:46:05 2008 +0000
+++ b/matroskadec.c	Fri May 23 11:47:11 2008 +0000
@@ -2254,7 +2254,7 @@
                         start = start * AV_TIME_BASE / 1000000000;
                         if (end != AV_NOPTS_VALUE)
                             end = end * AV_TIME_BASE / 1000000000;
-                        res = ff_new_chapter(s, start, end, title ? title : "(unnamed)");
+                        res = ff_new_chapter(s, start, end, title);
                     }
                     av_free(title);
                     break;