[MPlayer-cvslog] r35515 - trunk/libmpdemux/demux_lavf.c
cehoyos
subversion at mplayerhq.hu
Thu Nov 29 15:58:39 CET 2012
Author: cehoyos
Date: Thu Nov 29 15:58:39 2012
New Revision: 35515
Log:
Always set BITMAPINFOHEADER field biPlanes to 1, the only allowed value.
This allows using more binary decoders with -demuxer lavf.
Modified:
trunk/libmpdemux/demux_lavf.c
Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c Thu Nov 29 15:30:40 2012 (r35514)
+++ trunk/libmpdemux/demux_lavf.c Thu Nov 29 15:58:39 2012 (r35515)
@@ -375,6 +375,7 @@ static void handle_stream(demuxer_t *dem
bih->biSize= sizeof(*bih) + codec->extradata_size;
bih->biWidth= codec->width;
bih->biHeight= codec->height;
+ bih->biPlanes= 1;
bih->biBitCount= codec->bits_per_coded_sample;
bih->biSizeImage = bih->biWidth * bih->biHeight * bih->biBitCount/8;
bih->biCompression= codec->codec_tag;
More information about the MPlayer-cvslog
mailing list