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>
pull/131/head
Michael Niedermayer 10 years ago
parent f289422a3e
commit 235589ee9e
  1. 2
      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

Loading…
Cancel
Save