changeset 24668:d1f106c4e730

Set biWidth/biHeight in fli demuxer
author reimar
date Tue, 02 Oct 2007 19:22:46 +0000
parents 036c49377d02
children ec55ecbbd702
files libmpdemux/demux_fli.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_fli.c	Tue Oct 02 19:18:33 2007 +0000
+++ b/libmpdemux/demux_fli.c	Tue Oct 02 19:22:46 2007 +0000
@@ -128,6 +128,8 @@
   // pass extradata to codec
   sh_video->bih = (BITMAPINFOHEADER*)header;
   sh_video->bih->biSize = sizeof(BITMAPINFOHEADER) + 128;
+  sh_video->bih->biWidth = sh_video->disp_w;
+  sh_video->bih->biHeight = sh_video->disp_h;
     
   // skip the video depth and flags
   stream_skip(demuxer->stream, 4);