Module: libav
Branch: master
Commit: 30a76487304e7250294c9c0e9fa179bf07fd822a

Author:    Luca Barbato <[email protected]>
Committer: Luca Barbato <[email protected]>
Date:      Sat Dec 29 12:31:01 2012 +0100

hlsenc: make segment number unsigned

It will overflow if somebody keeps streaming for a time long enough.

---

 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;

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to