kolyvan / kxmovie

movie player for iOS using ffmpeg
2.84k stars 919 forks source link

Build failed: Implicit conversion of 'int' to 'NSString *' is disallowed with ARC #98

Open ashokrkm opened 9 years ago

ashokrkm commented 9 years ago

I am trying to add kxmovie to my project and build. However It fails here with this message:

kxmovie/KxAudioManager.m:144:19: Implicit conversion of 'int' to 'NSString *' is disallowed with ARC

This is the code:

   _audioRoute = CFBridgingRelease(route);

It works from the sample app, but if i add it to a new project it fails here. Any help here?! Thanks!

lamshaoquan commented 9 years ago

Do you work out it?

xiaoMIC commented 9 years ago

try this _audioRoute = (_bridge_transfer NSString*)route;