Avoid cast of double nan to int.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 2 Oct 2010 09:50:56 +0000 (09:50 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 2 Oct 2010 09:50:56 +0000 (09:50 +0000)
commit1405782cf4eaae7fd4bcb3d9da2c39f655314b41
treec1199ea5518ab46228fc57f891eaa741f49fa91f
parent8bf256bcc064ffa073b67e237f3141427d1f396c
Avoid cast of double nan to int.
It may cause exceptions on some platform.

Originally committed as revision 25311 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/rational.c