Commit 4fb3aa49 authored by Lukasz Marek's avatar Lukasz Marek

lavd:pulse_audio_enc: fix array compared against 0

fixes CID 1113222
Signed-off-by: 's avatarLukasz Marek <lukasz.m.luki@gmail.com>
parent e5b3b756
......@@ -62,7 +62,7 @@ static av_cold int pulse_write_header(AVFormatContext *h)
}
if (!stream_name) {
if (h->filename)
if (h->filename[0])
stream_name = h->filename;
else
stream_name = "Playback";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment