diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2012-12-29 12:31:01 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-12-29 17:26:30 +0100 |
commit | 30a76487304e7250294c9c0e9fa179bf07fd822a (patch) | |
tree | 04c7a3e60e2bd48d3ccfc5a470a1a66393977ede /libavformat | |
parent | 27a15e0af6fbf074b2b0ad878f1f54c77f7d147a (diff) | |
download | ffmpeg-streaming-30a76487304e7250294c9c0e9fa179bf07fd822a.zip ffmpeg-streaming-30a76487304e7250294c9c0e9fa179bf07fd822a.tar.gz |
hlsenc: make segment number unsigned
It will overflow if somebody keeps streaming for a time long enough.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/hlsenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 32b8ab9..4f74b5f 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -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; |