mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-26 00:31:12 +00:00
fix for using ffplay without specifying the audio device
Originally committed as revision 1555 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
cfadadecd8
commit
04bbd31b9f
2
ffmpeg.c
2
ffmpeg.c
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user