diff dvdsubdec.c @ 8810:367e4d405cd9 libavcodec

Set AVSubtitle format to 0. Neither dvdsubdec nor xsubdec intializes format to 0, but ffplay checks it before displaying subtitles (ffplay.c:1437). patch by Bj«Órn Axelsson, gecko acc.umu se
author diego
date Thu, 12 Feb 2009 01:27:56 +0000
parents 04423b2f6e0b
children 54bc8a2727b0
line wrap: on
line diff
--- a/dvdsubdec.c	Thu Feb 12 01:07:13 2009 +0000
+++ b/dvdsubdec.c	Thu Feb 12 01:27:56 2009 +0000
@@ -175,6 +175,7 @@
         return -1;
     sub_header->rects = NULL;
     sub_header->num_rects = 0;
+    sub_header->format = 0;
     sub_header->start_display_time = 0;
     sub_header->end_display_time = 0;