Skip to content

Commit bb16cbb

Browse files
author
Clement Champetier
committed
AudioTransform: suppress warning
1 parent 2129ab2 commit bb16cbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AvTranscoder/transform/AudioTransform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void AudioTransform::convert( const Frame& srcFrame, Frame& dstFrame )
9999
throw std::runtime_error( "unable to convert audio samples" );
100100
}
101101

102-
int nbOutputSamples = nbOutputSamplesPerChannel * static_cast<const AudioFrame&>( dstFrame ).desc().getChannels();
102+
size_t nbOutputSamples = nbOutputSamplesPerChannel * static_cast<const AudioFrame&>( dstFrame ).desc().getChannels();
103103

104104
if( dstFrame.getSize() != nbOutputSamples )
105105
dstFrame.getBuffer().resize( nbOutputSamples, 0 );

0 commit comments

Comments
 (0)