]> granicus.if.org Git - handbrake/commitdiff
MacGui: add a missing [super init]
authorDamiano Galassi <damiog@gmail.com>
Mon, 8 Oct 2018 14:26:01 +0000 (16:26 +0200)
committerDamiano Galassi <damiog@gmail.com>
Mon, 8 Oct 2018 14:26:01 +0000 (16:26 +0200)
macosx/HBTitle.m

index 01cf53bcae834ca8351f2a17a17344620c50c22e..0782578336bef123cc7f0e0e3a1056cf3a18ebbf 100644 (file)
@@ -35,7 +35,11 @@ extern NSString *keySubTrackType;
 @implementation HBMetadata
 - (instancetype)initWithMetadata:(hb_metadata_t *)data
 {
-    _hb_metadata = data;
+    self = [super init];
+    if (self)
+    {
+        _hb_metadata = data;
+    }
     return self;
 }