Skip to content
Snippets Groups Projects
Commit 04bbd31b authored by François Revol's avatar François Revol
Browse files

fix for using ffplay without specifying the audio device

Originally committed as revision 1555 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cfadadec
No related branches found
No related tags found
No related merge requests found
...@@ -2513,7 +2513,7 @@ void prepare_play(void) ...@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment