diff options
author | Björn Axelsson <gecko@acc.umu.se> | 2009-02-12 01:27:56 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-02-12 01:27:56 +0000 |
commit | 37a43cfb3921a0b80157ea658d408bd08ab68306 (patch) | |
tree | 1de852f1059ffe464cb4ad0536fce60036b19505 /libavcodec/dvdsubdec.c | |
parent | 508048afe2970529903378a10f276bae5d4422e0 (diff) | |
download | ffmpeg-37a43cfb3921a0b80157ea658d408bd08ab68306.tar.gz |
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
Originally committed as revision 17170 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dvdsubdec.c')
-rw-r--r-- | libavcodec/dvdsubdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c index 31e7a47b00..9691e384f4 100644 --- a/libavcodec/dvdsubdec.c +++ b/libavcodec/dvdsubdec.c @@ -175,6 +175,7 @@ static int decode_dvd_subtitles(AVSubtitle *sub_header, 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; |