mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
avutil/tests/lfg: Remove debugging start/stop timer
Fixes code with qemu ARM Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a50ccbd240
commit
1d0bad421c
@ -104,15 +104,12 @@ int main(void)
|
||||
int x = 0;
|
||||
int i, j;
|
||||
AVLFG state;
|
||||
|
||||
av_lfg_init(&state, 0xdeadbeef);
|
||||
for (j = 0; j < 10000; j++) {
|
||||
START_TIMER
|
||||
for (i = 0; i < 624; i++) {
|
||||
//av_log(NULL, AV_LOG_ERROR, "%X\n", av_lfg_get(&state));
|
||||
x += av_lfg_get(&state);
|
||||
}
|
||||
STOP_TIMER("624 calls of av_lfg_get");
|
||||
}
|
||||
av_log(NULL, AV_LOG_ERROR, "final value:%X\n", x);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user