mirror of https://git.ffmpeg.org/ffmpeg.git
hlsenc: make segment number unsigned
It will overflow if somebody keeps streaming for a time long enough.
This commit is contained in:
parent
27a15e0af6
commit
30a7648730
|
@ -38,7 +38,7 @@ typedef struct ListEntry {
|
|||
|
||||
typedef struct HLSContext {
|
||||
const AVClass *class; // Class for private options.
|
||||
int number;
|
||||
unsigned number;
|
||||
int64_t sequence;
|
||||
AVOutputFormat *oformat;
|
||||
AVFormatContext *avf;
|
||||
|
|
Loading…
Reference in New Issue