summaryrefslogtreecommitdiffstats
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
parentf289422a3ea53db13f6072b5ae97e6fa2e3b7b09 (diff)
downloadffmpeg-streaming-235589ee9e9adfe2eca517fdd6239e975a5ba2c6.zip
ffmpeg-streaming-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>
-rw-r--r--libavformat/segment.c2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud