Skip to content

Commit a651830

Browse files
committed
Minor corrections
1 parent 90d5118 commit a651830

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Headers/AppKit/NSMovie.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/* <title>NSMovie</title>
1+
/**
2+
<title>NSMovie</title>
23
3-
<abstract>Encapsulate a Quicktime movie</abstract>
4+
<abstract>Encapsulate a movie</abstract>
45
56
Copyright <copy>(C) 2003 Free Software Foundation, Inc.</copy>
67

Source/NSMovie.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ - (instancetype) initWithData: (NSData *)movie
9797

9898
- (instancetype) initWithMovie: (void *)movie
9999
{
100-
return [self initWithData: movie];
100+
//
101+
// Unsupported, as we don't really know what the arg will point to.
102+
// On macOS10.4 when this appeared it was assumed to be a QTMovie.
103+
//
104+
return nil;
101105
}
102106

103107
- (instancetype) initWithURL: (NSURL *)url byReference: (BOOL)byRef

0 commit comments

Comments
 (0)