Skip to content

Commit 7b64bf1

Browse files
committed
hd-rum-decompress: Add missing initializers
1 parent fc2f2f0 commit 7b64bf1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/hd-rum-translator/hd-rum-decompress.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ using std::unique_lock;
7474

7575
namespace hd_rum_decompress {
7676
struct state_transcoder_decompress final : public frame_recv_delegate {
77-
ultragrid_rtp_video_rxtx* video_rxtx;
77+
ultragrid_rtp_video_rxtx* video_rxtx = nullptr;
7878

79-
struct state_recompress *recompress;
79+
struct state_recompress *recompress = nullptr;
8080

8181
std::queue<std::shared_ptr<video_frame>> received_frame;
8282

@@ -85,16 +85,16 @@ struct state_transcoder_decompress final : public frame_recv_delegate {
8585
condition_variable frame_consumed_cv;
8686
thread worker_thread;
8787

88-
struct display *display;
89-
struct control_state *control;
88+
struct display *display = nullptr;
89+
struct control_state *control = nullptr;
9090
thread receiver_thread;
9191

9292
void frame_arrived(struct video_frame *f, struct audio_frame *a) override;
9393

9494
~state_transcoder_decompress() override = default;
9595
void worker();
9696

97-
struct capture_filter *capture_filter_state;
97+
struct capture_filter *capture_filter_state = nullptr;
9898

9999
struct common_opts common = { COMMON_OPTS_INIT };
100100
};

0 commit comments

Comments
 (0)