aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/sndio_enc.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2017-12-29 23:29:52 +0100
committerMarton Balint <cus@passwd.hu>2018-01-28 23:06:43 +0100
commit4bb04098204afadc8604af0113294f8ecc63a2de (patch)
treed2dc31c31b76f9e61f503e465f4ab7bde9169f16 /libavdevice/sndio_enc.c
parent25a2d269bdd919e633e202b67927c3c72f9f0dd5 (diff)
downloadffmpeg-4bb04098204afadc8604af0113294f8ecc63a2de.tar.gz
avdevice: migrate to AVFormatContext->url
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/sndio_enc.c')
-rw-r--r--libavdevice/sndio_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/sndio_enc.c b/libavdevice/sndio_enc.c
index 47f500d71e..f6dd290108 100644
--- a/libavdevice/sndio_enc.c
+++ b/libavdevice/sndio_enc.c
@@ -38,7 +38,7 @@ static av_cold int audio_write_header(AVFormatContext *s1)
s->sample_rate = st->codecpar->sample_rate;
s->channels = st->codecpar->channels;
- ret = ff_sndio_open(s1, 1, s1->filename);
+ ret = ff_sndio_open(s1, 1, s1->url);
return ret;
}