From: Ronald B. <rb...@us...> - 2003-10-14 10:07:50
|
CVS Root: /cvsroot/gstreamer Module: gst-plugins Changes by: rbultje Date: Tue Oct 14 2003 03:07:47 PDT Log message: gcc-2.95 fixage Modified files: gst/intfloat : gstfloat2int.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/gst/intfloat/gstfloat2int.c.diff?r1=1.45&r2=1.46 ====Begin Diffs==== Index: gstfloat2int.c =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/gst/intfloat/gstfloat2int.c,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- gstfloat2int.c 8 Oct 2003 16:07:57 -0000 1.45 +++ gstfloat2int.c 14 Oct 2003 10:07:35 -0000 1.46 @@ -429,9 +429,11 @@ } if (plugin->frames_remaining) { + gint to_process; + F2I_DEBUG ("processing %d%s", plugin->frames_remaining, frames_to_write >= plugin->frames_remaining ? " (last time)" : ""); - gint to_process = MIN (frames_to_write, plugin->frames_remaining); + to_process = MIN (frames_to_write, plugin->frames_remaining); for (l=plugin->channels, i=0; l; l=l->next, i++) { F2I_DEBUG ("processing for %d frames on channel %d", to_process, i); channel = GST_FLOAT2INT_CHANNEL (l); |