Set biWidth/biHeight in fli demuxer

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24688 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-10-02 19:22:46 +00:00
parent 2c1db11dd1
commit 9e3315675d
1 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,8 @@ static demuxer_t* demux_open_fli(demuxer_t* demuxer){
// 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);