1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-16 03:45:23 +00:00

bih fix for mpegs

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@435 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi_esp 2001-04-15 14:46:07 +00:00
parent 544e51e95c
commit 1d1d5e7914

View File

@ -868,7 +868,8 @@ if(has_audio){
//================== 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);