fix for legacy audio
authorFrançois Revol <revol@free.fr>
Wed, 12 Feb 2003 21:38:38 +0000 (21:38 +0000)
committerFrançois Revol <revol@free.fr>
Wed, 12 Feb 2003 21:38:38 +0000 (21:38 +0000)
Originally committed as revision 1583 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 6442f89..ab3a614 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2513,7 +2513,7 @@ static void prepare_play(void)
             fprintf(stderr, "Could not find audio device\n");
             exit(1);
         }
-        opt_output_file(audio_device?audio_device:"/dev/dsp0");
+        opt_output_file(audio_device?audio_device:"/dev/dsp");
     }
 
     if (has_video) {