fix for using ffplay without specifying the audio device

Originally committed as revision 1555 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
François Revol 22 years ago
parent cfadadecd8
commit 04bbd31b9f
  1. 2
      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) {

Loading…
Cancel
Save