I have to pass the following object to a method, have that method modify it so that after the method call I can move on with my modified object.
AVMutableCompositionTrack *compositionVideoTrack[2];
passing it like this currently:
[self buildShow:&compositionVideoTrack];
the buildshow method looks like this:
-(void)buildShow:(AVMutableCompositionTrack**)videoTracks{
}
I am getting this compiler warning and it is not currently working:
Incompatible pointer types sending 'AVMutableCompositionTrack *__strong (*)[2]' to parameter of type 'AVMutableCompositionTrack *__autoreleasing *'
How can I change this to make it work?