diff options
author | Marton Balint <cus@passwd.hu> | 2017-12-29 23:29:52 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2018-01-28 23:06:43 +0100 |
commit | 4bb04098204afadc8604af0113294f8ecc63a2de (patch) | |
tree | d2dc31c31b76f9e61f503e465f4ab7bde9169f16 /libavdevice/pulse_audio_enc.c | |
parent | 25a2d269bdd919e633e202b67927c3c72f9f0dd5 (diff) | |
download | ffmpeg-4bb04098204afadc8604af0113294f8ecc63a2de.tar.gz |
avdevice: migrate to AVFormatContext->url
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/pulse_audio_enc.c')
-rw-r--r-- | libavdevice/pulse_audio_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/pulse_audio_enc.c b/libavdevice/pulse_audio_enc.c index 0efcf0fe7e..d430b77272 100644 --- a/libavdevice/pulse_audio_enc.c +++ b/libavdevice/pulse_audio_enc.c @@ -459,8 +459,8 @@ static av_cold int pulse_write_header(AVFormatContext *h) st = h->streams[0]; if (!stream_name) { - if (h->filename[0]) - stream_name = h->filename; + if (h->url[0]) + stream_name = h->url; else stream_name = "Playback"; } |