X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fdv1394app.c;h=5ccdcbec179ccb902f969fbdfe4374516408c591;hb=5b8660aa24307a5ea69119579e7e060860a786b9;hp=3471a5a6f6f294890868fc6d9566249226568324;hpb=504dc1986b9455653a57900cdb93ce78c6e475ae;p=rugen diff --git a/src/dv1394app.c b/src/dv1394app.c index 3471a5a..5ccdcbe 100644 --- a/src/dv1394app.c +++ b/src/dv1394app.c @@ -709,7 +709,7 @@ char* frames2tc( int f, float fps, char* buf ) float d; int t; - if ( fps ) + if ( fps && f >= 0) { d = f / fps; t = d;