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>
Mon, 16 Jul 2018 17:02:12 +0000 (19:02 +0200)
commit6b65f46673d8efa3d9323307f000ba32c95f94d8
treedc23ca1cced857d62b41189e519064299b300809
parent052edeec55fdcc977f1e3e7d89c9b616ae461a82
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>
(cherry picked from commit aba13dc13e5233545bdd06f514e0addbb0155c69)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c