Commit 09362e58 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

MacOSX/Framework/Sources/VLCMedia.m: Minor cleanup.

parent f261c0d5
...@@ -285,10 +285,8 @@ static void HandleMediaDurationChanged(const libvlc_event_t *event, void *self) ...@@ -285,10 +285,8 @@ static void HandleMediaDurationChanged(const libvlc_event_t *event, void *self)
libvlc_exception_clear( &ex ); libvlc_exception_clear( &ex );
return [[[VLCMedia alloc] initWithLibVLCMediaDescriptor:md] autorelease]; return [[[VLCMedia alloc] initWithLibVLCMediaDescriptor:md] autorelease];
} }
else
{ return media;
return media;
}
} }
- (id)initWithLibVLCMediaDescriptor:(void *)md - (id)initWithLibVLCMediaDescriptor:(void *)md
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment