From: François Revol Date: Sat, 8 Feb 2003 14:13:52 +0000 (+0000) Subject: fix for using ffplay without specifying the audio device X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=04bbd31b9f308532ade0ecbbd5ed11d4f7435adc;p=ffmpeg fix for using ffplay without specifying the audio device Originally committed as revision 1555 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/ffmpeg.c b/ffmpeg.c index d7a1480e1d0..9a1e0437955 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2513,7 +2513,7 @@ void prepare_play(void) fprintf(stderr, "Could not find audio device\n"); exit(1); } - opt_output_file(audio_device); + opt_output_file(audio_device?audio_device:"/dev/dsp0"); } if (has_video) {