Commit d2b9c3af authored by Pierre's avatar Pierre
Browse files

VLCKit: fix a leak.

parent cf8fe3c0
......@@ -44,17 +44,20 @@
}
+ (id)rtpBroadcastStreamOutputWithSAPAnnounce:(NSString *)announceName
{
return [self streamOutputWithOptionDictionary:[NSDictionary dictionaryWithObjectsAndKeys:
NSString *name = [announceName copy];
id output = [self streamOutputWithOptionDictionary:[NSDictionary dictionaryWithObjectsAndKeys:
[NSDictionary dictionaryWithObjectsAndKeys:
@"ts", @"muxer",
@"file", @"access",
@"sap", @"sdp",
[announceName copy], @"name",
name, @"name",
@"239.255.1.1", @"destination", nil
], @"rtpOptions",
nil
]
];
[name release];
return output;
}
+ (id)rtpBroadcastStreamOutput
......
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