• James Zern's avatar
    rate_hist: add parameter validation · 4ffdf60b
    James Zern authored
    tolerate a NULL hist being passed as a result of invalid parameters
    passed to init_rate_histogram(). this fixes a divide by zero in
    init_rate_histogram() with an invalid fps.
    
    BUG=webm:1383
    
    Change-Id: Id203e0f3b18d67a4a09aaf206abcce4708f966ec
    4ffdf60b