diff --git a/lib/h264.cpp b/lib/h264.cpp index 05688266..931afb0b 100644 --- a/lib/h264.cpp +++ b/lib/h264.cpp @@ -216,6 +216,7 @@ namespace h264 { } //vuiParameters + result.fps = 0; if (bs.get(1)) { //Skipping all the paramters we dont use if (bs.get(1)) { @@ -243,8 +244,6 @@ namespace h264 { unsigned int timeScale = bs.get(32); result.fps = (double)timeScale / (2 * unitsInTick); bs.skip(1); - }else{ - result.fps = 0; } }