OSDN Git Service

hlsenc: Don't reset the number variable when wrapping
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 6 Jun 2013 10:09:38 +0000 (12:09 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 15 Aug 2013 19:41:19 +0000 (22:41 +0300)
commit9d86bfc259ae9ba7a76067ec931ff20fbb86ea2a
treeedf02c3359340feaa81a854c0d13d4de045a753c
parent09c93b1b957f2049ea5fd8fb0e6f4d82680172f2
hlsenc: Don't reset the number variable when wrapping

The counter itself shouldn't be wrapped, since it is used for
determining end_pts for the next segment - only wrap the number
used for the segment file name.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/hlsenc.c