소스 검색

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 년 전
부모
커밋
8d9251945c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"];