]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/img2.h
Merge commit '13e4f2c7f7857feb6885f0c2ea8c9ddf438f46ea'
[ffmpeg] / libavformat / img2.h
index 67bd7a325f1882dcb0c3fe725be5e1331f76eea0..e4bcb26da8c089702d461c47801910ecdd4ecb8b 100644 (file)
 #include <glob.h>
 #endif
 
+enum PatternType {
+    PT_GLOB_SEQUENCE,
+    PT_GLOB,
+    PT_SEQUENCE
+};
+
 typedef struct VideoDemuxData {
     const AVClass *class;  /**< Class for private options. */
     int img_first;
@@ -44,7 +50,7 @@ typedef struct VideoDemuxData {
     int width, height;      /**< Set by a private option. */
     AVRational framerate;   /**< Set by a private option. */
     int loop;
-    enum { PT_GLOB_SEQUENCE, PT_GLOB, PT_SEQUENCE } pattern_type;
+    int pattern_type; /**< PatternType */
     int use_glob;
 #if HAVE_GLOB
     glob_t globstate;