avformat/seek: move the cur variable into the loop
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 24 Dec 2014 12:01:31 +0000 (13:01 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 24 Dec 2014 12:14:07 +0000 (13:14 +0100)
commit96dce6f7ceaa8d3c7eddd241213bec82e84e7f7a
treec64e48cefd1235d4fa85b270a337e2d79c8b0d00
parent3f56224a9a83719b5bb42ad0bb9a6267b131e50b
avformat/seek: move the cur variable into the loop

This improves readability and makes it clear that the freed
value is not used after the end of an iteration

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/seek.c