mirror of https://github.com/mpv-player/mpv
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:
parent
2c1db11dd1
commit
9e3315675d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue