Browse Source

libvlc_media_*: remove a bunch of useless exception parameters

Rémi Denis-Courmont 15 years ago
parent
commit
fc7a11a782
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/VLCMedia.m

+ 1 - 1
Sources/VLCMedia.m

@@ -358,7 +358,7 @@ static void HandleMediaSubItemAdded(const libvlc_event_t * event, void * self)
     p_md = libvlc_media_duplicate( [media libVLCMediaDescriptor] );
     for( NSString * key in [options allKeys] )
     {
-        libvlc_media_add_option(p_md, [[NSString stringWithFormat:@"%@=#%@", key, [options objectForKey:key]] UTF8String], NULL);
+        libvlc_media_add_option(p_md, [[NSString stringWithFormat:@"%@=#%@", key, [options objectForKey:key]] UTF8String]);
     }
     return [VLCMedia mediaWithLibVLCMediaDescriptor:p_md];
 }