Explorar o código

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 %!s(int64=13) %!d(string=hai) anos
pai
achega
8d9251945c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"];