From 04bbd31b9f308532ade0ecbbd5ed11d4f7435adc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sat, 8 Feb 2003 14:13:52 +0000 Subject: [PATCH] fix for using ffplay without specifying the audio device Originally committed as revision 1555 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index d7a1480e1d..9a1e043795 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) {