avformat/mov: Break out of inner loop early in mov_estimate_video_delay()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 11 Jul 2018 00:17:58 +0000 (02:17 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 13 Jul 2018 00:19:50 +0000 (02:19 +0200)
commitaba13dc13e5233545bdd06f514e0addbb0155c69
tree9d1e131566168f5db05dfb30ec43ed4bf13b2e60
parent5545a6df879f0c94e7e74ddc6606e300716f390b
avformat/mov: Break out of inner loop early in mov_estimate_video_delay()

0.266 <- 0.299 sec (this is time ffmpeg so containing alot other things)

Sample for benchmark was: ffmpeg -f rawvideo -pix_fmt yuv420p -s 32x32 -i /dev/zero -t 24:00:00.00 out.mp4

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Reviewed-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c