Browse Source

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>
tags/n2.7
Michael Niedermayer 11 years ago
parent
commit
235589ee9e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/segment.c

+ 1
- 1
libavformat/segment.c 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


Loading…
Cancel
Save