aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/segment.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-04-07 23:21:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-07 23:21:48 +0200
commit235589ee9e9adfe2eca517fdd6239e975a5ba2c6 (patch)
treef6b02d19e024b825cb259faf2e723585bb78b9e8 /libavformat/segment.c
parentf289422a3ea53db13f6072b5ae97e6fa2e3b7b09 (diff)
downloadffmpeg-235589ee9e9adfe2eca517fdd6239e975a5ba2c6.tar.gz
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@gmx.at>
Diffstat (limited to 'libavformat/segment.c')
-rw-r--r--libavformat/segment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 69038ca3dd..1162ea2122 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