Skip to content

Commit

Permalink
some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kolyvan committed Oct 27, 2012
1 parent 1e49e96 commit ae31d34
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kxmovie/KxMovieDecoder.m
Original file line number Diff line number Diff line change
Expand Up @@ -898,9 +898,6 @@ - (KxAudioFrame *) handleAudioFrame
_audioCodecCtx->sample_fmt,
1);

//const NSUInteger sizeOfSample = av_get_bytes_per_sample(_audioCodecCtx->sample_fmt);
//numFrames = bufSize / (sizeOfSample * numChannels);

NSAssert(bufSize / (av_get_bytes_per_sample(_audioCodecCtx->sample_fmt) * numChannels) == _audioFrame->nb_samples, @"bugcheck");

if (!_swrBuffer || _swrBufferSize < (bufSize * 2)) {
Expand Down

0 comments on commit ae31d34

Please sign in to comment.