Browse Source

VLCKit: Use a string literal instead of a format string with no arguments.

Fixes a compiler warning.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Brendon Justin 13 years ago
parent
commit
8d9251945c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/VLCStreamOutput.m

+ 1 - 1
Sources/VLCStreamOutput.m

@@ -179,7 +179,7 @@
         if( audioCodec )   [subOptions addObject:[NSString stringWithFormat:@"acodec=%@", audioCodec]];
         if( audioBitrate ) [subOptions addObject:[NSString stringWithFormat:@"ab=%@", audioBitrate]];
         if( channels ) [subOptions addObject:[NSString stringWithFormat:@"channels=%@", channels]];
-        if( audioSync ) [subOptions addObject:[NSString stringWithFormat:@"audioSync", width]];
+        if( audioSync ) [subOptions addObject:@"audioSync"];
         if( subtitleCodec ) [subOptions addObject:[NSString stringWithFormat:@"scodec=%@", subtitleCodec]];
         if( subtitleEncoder ) [subOptions addObject:[NSString stringWithFormat:@"senc=%@", subtitleEncoder]];
         if( subtitleOverlay ) [subOptions addObject:@"soverlay"];