OSDN Git Service

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:46:32 +0000 (09:46 +0300)
commita6f5e25ad989550dff9493311d6ba08d882df079
treeb2a48d4b10471ec3a26bbd3555d7e38fd52f364c
parent1212e3468e7b66007a3a3f0363af5fd92718835a
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
libavformat/hls.c