X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavdevice%2Fsndio_dec.c;h=ebb485a2c7b78f29c4e2ed98db656734b02f0ed3;hb=c76a6c93bfc3787be61fe3f317618d53c9414818;hp=2d13232bf17a662bef6af560bafaef85ab8cb49c;hpb=374f818bfbc5f7ad3a88f6a17770abb14abec4d1;p=ffmpeg diff --git a/libavdevice/sndio_dec.c b/libavdevice/sndio_dec.c index 2d13232bf17..ebb485a2c7b 100644 --- a/libavdevice/sndio_dec.c +++ b/libavdevice/sndio_dec.c @@ -41,7 +41,7 @@ static av_cold int audio_read_header(AVFormatContext *s1) if (!st) return AVERROR(ENOMEM); - ret = ff_sndio_open(s1, 0, s1->filename); + ret = ff_sndio_open(s1, 0, s1->url); if (ret < 0) return ret;