lavd:pulse_audio_enc: fix array compared against 0
fixes CID 1113222 Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
This commit is contained in:
parent
e5b3b75669
commit
4fb3aa491b
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user