diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-09-05 14:39:46 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-09-05 14:39:46 +0000 |
commit | 3ecb5d446f15366fb979cc5b755785169856f97a (patch) | |
tree | 84e87912e3fed97908999fd85d85bdf7d0c7045b | |
parent | 5a2df643a79bd52978ad80e1b1fed932717b4de3 (diff) | |
download | xine-lib-3ecb5d446f15366fb979cc5b755785169856f97a.tar.gz xine-lib-3ecb5d446f15366fb979cc5b755785169856f97a.tar.bz2 |
div by zero fix by G Developer
CVS patchset: 5346
CVS date: 2003/09/05 14:39:46
-rw-r--r-- | src/xine-engine/video_out.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index 2b3af4a9a..70365a1e0 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.c,v 1.169 2003/08/15 14:35:09 mroi Exp $ + * $Id: video_out.c,v 1.170 2003/09/05 14:39:46 miguelfreitas Exp $ * * frame allocation / queuing / scheduling / output functions */ @@ -443,7 +443,7 @@ static int vo_frame_draw (vo_frame_t *img, xine_stream_t *stream) { * performance measurement */ - if ((this->num_frames_delivered % 200) == 0) { + if ((this->num_frames_delivered % 200) == 0 && this->num_frames_delivered) { int send_event; if( (100 * this->num_frames_skipped / this->num_frames_delivered) > |