Mercurial > libavformat.hg
changeset 2059:69ff78484350 libavformat
fix oss audio playback, broken since r7983, pass AVFormatContext filename to audio_open since audio_device when NULL is no more set to default value
author | bcoudurier |
---|---|
date | Fri, 27 Apr 2007 16:10:05 +0000 |
parents | 47bb66436d52 |
children | 1f62f2f021d5 |
files | audio.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/audio.c Fri Apr 27 01:21:11 2007 +0000 +++ b/audio.c Fri Apr 27 16:10:05 2007 +0000 @@ -158,7 +158,7 @@ st = s1->streams[0]; s->sample_rate = st->codec->sample_rate; s->channels = st->codec->channels; - ret = audio_open(s, 1, NULL); + ret = audio_open(s, 1, s1->filename); if (ret < 0) { return AVERROR_IO; } else {