Commit a38e87df authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

move the update of WMOPS counter after frame++

parent afd974d9
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -199,16 +199,17 @@ int main(int argc, char *argv[])
                }
            }

#ifdef WMOPS
            update_wmops();
            update_mem();
#endif

            frame++;
            if (quietMode == 0)
            {
                fprintf( stdout, "%-8ld\b\b\b\b\b\b\b\b", frame);
            }

#ifdef WMOPS
            update_wmops();
            update_mem();
#endif

        }

        /*----- decode-a-frame-loop end -----*/