hlsenc: make segment number unsigned

It will overflow if somebody keeps streaming for a time long enough.
pull/8/head
Luca Barbato 12 years ago
parent 27a15e0af6
commit 30a7648730
  1. 2
      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;

Loading…
Cancel
Save