Skip to content

Commit 681bd01

Browse files
committed
fixed non-initialized pointer
Signed-off-by: Yingjie Wang <yingjiew@pixar.com>
1 parent 01b03ca commit 681bd01

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_clip.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,9 +337,9 @@ main(int argc, char** argv)
337337
Clip* clip = dynamic_cast<Clip*>(so.value);
338338
assertNotNull(clip);
339339

340-
// set media reference key to null
341-
otio::ErrorStatus* media_ref_key_error;
342-
clip->set_active_media_reference_key("", media_ref_key_error);
340+
// set media reference key to empty string
341+
otio::ErrorStatus media_ref_key_error;
342+
clip->set_active_media_reference_key("", &media_ref_key_error);
343343

344344
otio::ErrorStatus bounds_error_no_mr;
345345
clip->available_image_bounds(&bounds_error_no_mr);

0 commit comments

Comments
 (0)