lavf/hlsenc: fix bogus hls segment index rewrapping logic
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 6 Jun 2013 10:09:38 +0000 (12:09 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 6 Jun 2013 10:09:38 +0000 (12:09 +0200)
commit75b9fb27f516f9db7995ab2c2abb83e25cae5813
treead9d44d6b552c7e6342335e1e07bfd56070cbcca
parentb26bcd08e670b90740f7253f21adddafb9d8c478
lavf/hlsenc: fix bogus hls segment index rewrapping logic

The counter should not be reset since it detects the
hls segment increasing timeframe.

Fixes ticket #2643.

Reviewed-by: Stefano Sabatini
libavformat/hlsenc.c