Commit 04bbd31b authored by François Revol's avatar François Revol

fix for using ffplay without specifying the audio device

Originally committed as revision 1555 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cfadadec
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment