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 {
|
typedef struct HLSContext {
|
||||||
const AVClass *class; // Class for private options.
|
const AVClass *class; // Class for private options.
|
||||||
int number;
|
unsigned number;
|
||||||
int64_t sequence;
|
int64_t sequence;
|
||||||
AVOutputFormat *oformat;
|
AVOutputFormat *oformat;
|
||||||
AVFormatContext *avf;
|
AVFormatContext *avf;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user