aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
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) {