changeset 22134:71cb05a537e1

Set sub_utf8 for mov subs.
author reimar
date Mon, 05 Feb 2007 18:12:56 +0000
parents 66fa884c46cd
children 4eb3867eadee
files libmpdemux/demux_mov.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Mon Feb 05 18:03:12 2007 +0000
+++ b/libmpdemux/demux_mov.c	Mon Feb 05 18:12:56 2007 +0000
@@ -2177,6 +2177,7 @@
           len -= 2;
           if (len < 0) len = 0;
           if (len > MOV_MAX_SUBLEN) len = MOV_MAX_SUBLEN;
+          sub_utf8 = 1;
         }
         ds_read_packet(demuxer->sub, demuxer->stream, len, subpts, pos, 0);
         priv->current_sub = samplenr;