From d80be73b8ee09a92a274e41ee774501d6534c8f3 Mon Sep 17 00:00:00 2001 From: szabii Date: Tue, 10 Apr 2001 23:18:01 +0000 Subject: find_codec() modified git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@333 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mplayer.c') diff --git a/mplayer.c b/mplayer.c index 6ac2b694bf..64bb256ff7 100644 --- a/mplayer.c +++ b/mplayer.c @@ -792,7 +792,7 @@ fflush(stdout); //================== Init AUDIO (codec) ========================== if(has_audio){ // Go through the codec.conf and find the best codec... - sh_audio->codec=find_codec(sh_audio->format,NULL,1); + sh_audio->codec=find_codec(sh_audio->format,NULL,NULL,1); if(!sh_audio->codec){ printf("Can't find codec for audio format 0x%X !\n",sh_audio->format); has_audio=0; @@ -815,7 +815,7 @@ 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,0); +sh_video->codec=find_codec(sh_video->format,(unsigned int*) &sh_video->bih.biCompression,NULL,0); if(!sh_video->codec){ printf("Can't find codec for video format 0x%X !\n",sh_video->format); exit(1); -- cgit v1.2.3