diff mbox series

[FFmpeg-devel,2/2] avformat/hlsenc: expand the scope of flags from int32_t to int64_t

Message ID 20220508005418.1270-2-lq@chinaffmpeg.org
State New
Headers show
Series [FFmpeg-devel,1/2] avformat/hlsenc: check option before set discont_program_date_time | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Liu Steven May 8, 2022, 12:54 a.m. UTC
because the flags in AVOption support i64.

Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
 libavformat/hlsenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index d91c7ebcb7..8e91c7a980 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -202,7 +202,7 @@  typedef struct HLSContext {
     int64_t init_time;     // Set by a private option.
     int max_nb_segments;   // Set by a private option.
     int hls_delete_threshold; // Set by a private option.
-    uint32_t flags;        // enum HLSFlags
+    uint64_t flags;        // enum HLSFlags
     uint32_t pl_type;      // enum PlaylistType
     char *segment_filename;
     char *fmp4_init_filename;