1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

senseless cast and ()

Originally committed as revision 11118 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-12-01 00:21:43 +00:00
parent 90901860c2
commit 5d702d6db2

View File

@ -191,7 +191,7 @@ int audio_resample(ReSampleContext *s, short *output, short *input, int nb_sampl
} }
/* make some zoom to avoid round pb */ /* make some zoom to avoid round pb */
lenout= (int)(4*nb_samples * s->ratio) + 16; lenout= 4*nb_samples * s->ratio + 16;
bufout[0]= av_malloc( lenout * sizeof(short) ); bufout[0]= av_malloc( lenout * sizeof(short) );
bufout[1]= av_malloc( lenout * sizeof(short) ); bufout[1]= av_malloc( lenout * sizeof(short) );