summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorszabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-10 23:18:01 +0000
committerszabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-10 23:18:01 +0000
commitd80be73b8ee09a92a274e41ee774501d6534c8f3 (patch)
treedab40b4543d0a00cd904bd8db7a3beefbf82ffc0 /mplayer.c
parent90b7957f322a2b885ba2d9f91654b5b52eac3123 (diff)
downloadmpv-d80be73b8ee09a92a274e41ee774501d6534c8f3.tar.bz2
mpv-d80be73b8ee09a92a274e41ee774501d6534c8f3.tar.xz
find_codec() modified
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@333 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c4
1 files changed, 2 insertions, 2 deletions
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);