avformat/hls: Fix handling of EXT-X-BYTERANGE streams over 2GB
authorAnssi Hannula <anssi.hannula@iki.fi>
Sat, 24 Sep 2016 06:29:03 +0000 (09:29 +0300)
committerAnssi Hannula <anssi.hannula@iki.fi>
Sat, 24 Sep 2016 06:49:26 +0000 (09:49 +0300)
commit748a4747da5a9fce15efb95b2d650d647cb98c1d
tree336c74bcf36a22080c6e01cb73d44041084c901c
parent6fc29572fbf82148e39b18d676688af6d9c17e2f
avformat/hls: Fix handling of EXT-X-BYTERANGE streams over 2GB

Replace uses of atoi() with strtoll() when trying to read values into
int64_t variables.

Fixes Kodi trac #16926:
http://trac.kodi.tv/ticket/16926

(cherry picked from commit a6f5e25ad989550dff9493311d6ba08d882df079)
libavformat/hls.c