aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2003-02-08 14:13:52 +0000
committerFrançois Revol <revol@free.fr>2003-02-08 14:13:52 +0000
commit04bbd31b9f308532ade0ecbbd5ed11d4f7435adc (patch)
tree1eb9c3fe971ebeefbf2ef69f7ec2d88d8aad0085 /ffmpeg.c
parentcfadadecd87d6eb7fb59528173783434323eeafd (diff)
downloadffmpeg-04bbd31b9f308532ade0ecbbd5ed11d4f7435adc.tar.gz
fix for using ffplay without specifying the audio device
Originally committed as revision 1555 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-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) {