Mercurial > mplayer.hg
changeset 125:4e42d41dad68
DIV5+DIV6 support
author | arpi_esp |
---|---|
date | Sat, 17 Mar 2001 22:49:14 +0000 |
parents | 2df337e28820 |
children | a392ed6199fa |
files | codecs.c |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/codecs.c Sat Mar 17 22:37:22 2001 +0000 +++ b/codecs.c Sat Mar 17 22:49:14 2001 +0000 @@ -20,6 +20,7 @@ return "APmpg4v1.dll"; #endif return "mpg4c32.dll"; + case mmioFOURCC('M', 'P', '4', '3'): case mmioFOURCC('m', 'p', '4', '3'): printf("Video in MPEG-4 v3 (really DivX) format\n"); @@ -35,12 +36,15 @@ case mmioFOURCC('d', 'i', 'v', 'x'): return "DivX.dll"; + case mmioFOURCC('D', 'I', 'V', '5'): + case mmioFOURCC('d', 'i', 'v', '5'): + case mmioFOURCC('D', 'I', 'V', '6'): + case mmioFOURCC('d', 'i', 'v', '6'): + avi_header.bih.biCompression-=0x02000000; // div5->div3, div6->div4 case mmioFOURCC('D', 'I', 'V', '3'): case mmioFOURCC('d', 'i', 'v', '3'): case mmioFOURCC('D', 'I', 'V', '4'): case mmioFOURCC('d', 'i', 'v', '4'): - case mmioFOURCC('D', 'I', 'V', '5'): - case mmioFOURCC('d', 'i', 'v', '5'): case mmioFOURCC('M', 'P', '4', '1'): case mmioFOURCC('m', 'p', '4', '1'): printf("Video in DivX ;-) format\n");