changeset 5959:7d242886f17b libavcodec

senseless cast and ()
author michael
date Sat, 01 Dec 2007 00:21:43 +0000
parents ed05a3d964fa
children 94fa03139210
files resample.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) );