obs-outputs: Fix "sometimes uninitialized" warning
Fixes warning (clang): variable 'added_packet' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
This commit is contained in:
parent
f0cf699c50
commit
d510b629c9
@ -796,7 +796,7 @@ static void rtmp_stream_data(void *data, struct encoder_packet *packet)
|
||||
{
|
||||
struct rtmp_stream *stream = data;
|
||||
struct encoder_packet new_packet;
|
||||
bool added_packet;
|
||||
bool added_packet = false;
|
||||
|
||||
if (disconnected(stream))
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user