RCS file: /cvsroot/mplayer/main/libmpdemux/muxer_avi.c,v
retrieving revision 1.29
diff -u -r1.29 muxer_avi.c
|
|
|
|
| 424 | 424 | case MUXER_TYPE_VIDEO: |
| 425 | 425 | { |
| 426 | 426 | int biSize=s->bih->biSize; |
| | 427 | int planes = s->bih->biPlanes; |
| | 428 | // according to the specs this must always be 1 |
| | 429 | s->bih->biPlanes = 1; |
| 427 | 430 | le2me_BITMAPINFOHEADER(s->bih); |
| 428 | 431 | write_avi_chunk(f,ckidSTREAMFORMAT,biSize,s->bih); /* BITMAPINFOHEADER */ |
| 429 | 432 | le2me_BITMAPINFOHEADER(s->bih); |
| | 433 | s->bih->biPlanes = planes; |
| 430 | 434 | |
| 431 | 435 | if (aspect != 0) { |
| 432 | 436 | int fields = vprp.nbFieldPerFrame; |