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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue