fix for using ffplay without specifying the audio device

Originally committed as revision 1555 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
François Revol 2003-02-08 14:13:52 +00:00
parent cfadadecd8
commit 04bbd31b9f

View File

@ -2513,7 +2513,7 @@ void prepare_play(void)
fprintf(stderr, "Could not find audio device\n"); fprintf(stderr, "Could not find audio device\n");
exit(1); exit(1);
} }
opt_output_file(audio_device); opt_output_file(audio_device?audio_device:"/dev/dsp0");
} }
if (has_video) { if (has_video) {