Mercurial > mplayer.hg
changeset 434:50955d1a56c1
bih fix for mpegs
author | arpi_esp |
---|---|
date | Sun, 15 Apr 2001 14:46:07 +0000 |
parents | 0969d4ef0a34 |
children | 3e3579ffaefe |
files | mplayer.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Sun Apr 15 14:45:15 2001 +0000 +++ b/mplayer.c Sun Apr 15 14:46:07 2001 +0000 @@ -868,7 +868,8 @@ //================== Init VIDEO (codec & libvo) ========================== // Go through the codec.conf and find the best codec... -sh_video->codec=find_codec(sh_video->format,(unsigned int*) &sh_video->bih->biCompression,NULL,0); +sh_video->codec=find_codec(sh_video->format, + sh_video->bih?((unsigned int*) &sh_video->bih->biCompression):NULL,NULL,0); if(!sh_video->codec){ printf("Can't find codec for video format 0x%X !\n",sh_video->format); exit(1);