1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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 {
const AVClass *class; // Class for private options.
int number;
unsigned number;
int64_t sequence;
AVOutputFormat *oformat;
AVFormatContext *avf;