# HG changeset patch # User alex # Date 1075276068 0 # Node ID 9d5fdc9847eccdf592859922ccf6c83dadf50a8d # Parent e40abd8c542b57d3fa6dff5081aea63d6543bc9c Set fcchandler according to fourcc, some players (Archos Jukebox) need it, also imho a player should use that field for determining fourcc, hopefully it doesn't break anything diff -r e40abd8c542b -r 9d5fdc9847ec libmpdemux/muxer_avi.c --- a/libmpdemux/muxer_avi.c Tue Jan 27 22:20:38 2004 +0000 +++ b/libmpdemux/muxer_avi.c Wed Jan 28 07:47:48 2004 +0000 @@ -191,9 +191,11 @@ switch(muxer->streams[i]->type){ case MUXER_TYPE_VIDEO: hdrsize+=muxer->streams[i]->bih->biSize+8; // strf + muxer->streams[i]->h.fccHandler = muxer->streams[i]->bih->biCompression; break; case MUXER_TYPE_AUDIO: hdrsize+=WFSIZE(muxer->streams[i]->wf)+8; // strf + muxer->streams[i]->h.fccHandler = muxer->streams[i]->wf->wFormatTag; break; } write_avi_list(f,listtypeSTREAMHEADER,hdrsize);