You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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:
@@ -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";
|
||||
|
Reference in New Issue
Block a user