summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-02 19:22:46 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-02 19:22:46 +0000
commit9e3315675dbb7f50fcbe39be12caeb9d0c40ce7d (patch)
tree5276bda1d592cf6c63559ea57c101a4f9fc682aa /libmpdemux
parent2c1db11dd12541bcb5b2284441d918f67430929f (diff)
downloadmpv-9e3315675dbb7f50fcbe39be12caeb9d0c40ce7d.tar.bz2
mpv-9e3315675dbb7f50fcbe39be12caeb9d0c40ce7d.tar.xz
Set biWidth/biHeight in fli demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24688 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_fli.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/demux_fli.c b/libmpdemux/demux_fli.c
index f73840b49a..a8f13492c2 100644
--- a/libmpdemux/demux_fli.c
+++ b/libmpdemux/demux_fli.c
@@ -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);