# HG changeset patch # User reimar # Date 1191352966 0 # Node ID d1f106c4e7306b5776b2dacbd493e21765d445bf # Parent 036c49377d0263bd33c1e1b8c147eae917d9afdf Set biWidth/biHeight in fli demuxer diff -r 036c49377d02 -r d1f106c4e730 libmpdemux/demux_fli.c --- 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);