]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/sndio_dec.c
avcodec/get_bits: Make sure the input bitstream with padding can be addressed
[ffmpeg] / libavdevice / sndio_dec.c
index 2d13232bf17a662bef6af560bafaef85ab8cb49c..ebb485a2c7b78f29c4e2ed98db656734b02f0ed3 100644 (file)
@@ -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;