Commit 30a76487 authored by Luca Barbato's avatar Luca Barbato

hlsenc: make segment number unsigned

It will overflow if somebody keeps streaming for a time long enough.
parent 27a15e0a
...@@ -38,7 +38,7 @@ typedef struct ListEntry { ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment