Logo Search packages:      
Sourcecode: blender version File versions

static double av_q2d ( AVRational  a  )  [inline, static]

converts the given AVRational to a double.

Definition at line 51 of file rational.h.

References AVRational::den, and AVRational::num.

Referenced by av_find_stream_info().

                                         {
    return a.num / (double) a.den;
}


Generated by  Doxygen 1.6.0   Back to index