# HG changeset patch # User michael # Date 1196468503 0 # Node ID 7d242886f17b2210990d548b0d93254e75f14207 # Parent ed05a3d964faa6c5453f18c6801422c135780dc5 senseless cast and () diff -r ed05a3d964fa -r 7d242886f17b resample.c --- a/resample.c Sat Dec 01 00:19:44 2007 +0000 +++ b/resample.c Sat Dec 01 00:21:43 2007 +0000 @@ -191,7 +191,7 @@ } /* 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[1]= av_malloc( lenout * sizeof(short) );