diff options
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |