hlsenc: make segment number unsigned

It will overflow if somebody keeps streaming for a time long enough.
This commit is contained in:
Luca Barbato 2012-12-29 12:31:01 +01:00
parent 27a15e0af6
commit 30a7648730

View File

@ -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;