]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/pulse_audio_dec.c
avfilter/avf_concat: add next command
[ffmpeg] / libavdevice / pulse_audio_dec.c
index 95a1d6ecfa6204246cf4f150cb66d1fc59b01187..5977fb7e9e5f65914605283fb552767ab9fcdf94 100644 (file)
@@ -158,8 +158,8 @@ static av_cold int pulse_read_header(AVFormatContext *s)
 
     attr.fragsize = pd->fragment_size;
 
-    if (s->filename[0] != '\0' && strcmp(s->filename, "default"))
-        device = s->filename;
+    if (s->url[0] != '\0' && strcmp(s->url, "default"))
+        device = s->url;
 
     if (!(pd->mainloop = pa_threaded_mainloop_new())) {
         pulse_close(s);