changeset 9954:50327500e065 libavcodec

Set subtitle type in DVB subtitle decoder. Patch by Janne Grunau <j?nne-f?mpeg@jannau?net>.
author stefano
date Tue, 14 Jul 2009 23:12:43 +0000
parents a79d7debe431
children 4ebcb6c121e4
files dvbsubdec.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dvbsubdec.c	Tue Jul 14 05:22:23 2009 +0000
+++ b/dvbsubdec.c	Tue Jul 14 23:12:43 2009 +0000
@@ -1305,6 +1305,7 @@
         rect->w = region->width;
         rect->h = region->height;
         rect->nb_colors = 16;
+        rect->type      = SUBTITLE_BITMAP;
         rect->pict.linesize[0] = region->width;
 
         clut = get_clut(ctx, region->clut);