Skip to content

Commit

Permalink
Fixed warning in avfoundation capture for iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
mshabunin committed Nov 17, 2015
1 parent 40a15d7 commit 8e9d35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/videoio/src/cap_avfoundation.mm
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ -(int) updateImage {
}


AVAssetReaderTrackOutput * output = [mMovieReader.outputs objectAtIndex:0];
AVAssetReaderOutput * output = [mMovieReader.outputs objectAtIndex:0];
CMSampleBufferRef sampleBuffer = [output copyNextSampleBuffer];
if (!sampleBuffer) {
[localpool drain];
Expand Down

0 comments on commit 8e9d35f

Please sign in to comment.