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>
This commit is contained in:
Michael Niedermayer 2015-04-07 23:21:48 +02:00
parent f289422a3e
commit 235589ee9e

View File

@ -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