base64: add a benchmark for a pure syntax check.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-01-21 00:32:52 +01:00
parent ea4da94895
commit 01084336b7

View File

@ -184,6 +184,12 @@ int main(void)
STOP_TIMER("decode")
}
for(i=0; i<10000; i++){
START_TIMER
av_base64_decode(NULL, out, 0);
STOP_TIMER("sytax check")
}
return error_count;
}