avdevice: migrate to AVFormatContext->url
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -46,7 +46,7 @@ static int audio_write_header(AVFormatContext *s1)
|
||||
st = s1->streams[0];
|
||||
s->sample_rate = st->codecpar->sample_rate;
|
||||
s->channels = st->codecpar->channels;
|
||||
ret = ff_oss_audio_open(s1, 1, s1->filename);
|
||||
ret = ff_oss_audio_open(s1, 1, s1->url);
|
||||
if (ret < 0) {
|
||||
return AVERROR(EIO);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user