Commit ffbdd5c7 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx/output: fixed rare exception

parent b9ca1827
...@@ -571,12 +571,12 @@ ...@@ -571,12 +571,12 @@
- (void)transcodeInfoChanged:(NSNotification *)o_notification - (void)transcodeInfoChanged:(NSNotification *)o_notification
{ {
NSMutableString *o_transcode_string; NSMutableString *o_transcode_string = [NSMutableString stringWithCapacity:200];
if( [o_transcode_video_chkbox state] == NSOnState || if( [o_transcode_video_chkbox state] == NSOnState ||
[o_transcode_audio_chkbox state] == NSOnState ) [o_transcode_audio_chkbox state] == NSOnState )
{ {
o_transcode_string = [NSMutableString stringWithString:@"transcode{"]; [o_transcode_string appendString:@"transcode{"];
if ( [o_transcode_video_chkbox state] == NSOnState ) if ( [o_transcode_video_chkbox state] == NSOnState )
{ {
[o_transcode_string appendFormat: @"vcodec=\"%@\",vb=\"%@\"" \ [o_transcode_string appendFormat: @"vcodec=\"%@\",vb=\"%@\"" \
......
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