[FFmpeg-cvslog] avformat/segment: Change enum to int, which is accessed via AVOption as int

Michael Niedermayer git at videolan.org
Tue Apr 7 23:28:17 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Apr  7 23:21:48 2015 +0200| [235589ee9e9adfe2eca517fdd6239e975a5ba2c6] | committer: Michael Niedermayer

avformat/segment: Change enum to int, which is accessed via AVOption as int

This fixes depending on implementation defined behavior

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=235589ee9e9adfe2eca517fdd6239e975a5ba2c6
---

 libavformat/segment.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/segment.c b/libavformat/segment.c
index 69038ca..1162ea2 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -86,7 +86,7 @@ typedef struct SegmentContext {
     int cut_pending;
 
     char *entry_prefix;    ///< prefix to add to list entry filenames
-    ListType list_type;    ///< set the list type
+    int list_type;         ///< set the list type
     AVIOContext *list_pb;  ///< list file put-byte context
     char *time_str;        ///< segment duration specification string
     int64_t time;          ///< segment duration



More information about the ffmpeg-cvslog mailing list