Skip to content

Commit

Permalink
fix uninitialized member variable (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed May 3, 2021
1 parent 7d5aeb5 commit 900772c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libde265/decctx.h
Expand Up @@ -450,8 +450,8 @@ class decoder_context : public base_context {
de265_image* img;

public:
const slice_segment_header* previous_slice_header; /* Remember the last slice for a successive
dependent slice. */
const slice_segment_header* previous_slice_header = nullptr; /* Remember the last slice for a successive
dependent slice. */


// --- motion compensation ---
Expand Down

0 comments on commit 900772c

Please sign in to comment.