avformat/utils: Call ff_rfps_add_frame() only for video
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 2 Jun 2014 15:09:53 +0000 (17:09 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 2 Jun 2014 15:09:53 +0000 (17:09 +0200)
commit6f6edfe1c0ede584ea4edf5bb0fc9b961f299631
treed1a392f045d7d0534610d7e6e2c9877a66ac7b9b
parentcdfd9717edac118968e63e6f83c3e45a7e337833
avformat/utils: Call ff_rfps_add_frame() only for video

This avoids some unneeded computations

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c