diff avformat.h @ 790:80aec794c2ed libavformat

Animated GIF looping patch by (Todd Kirby // ffmpeg.php gmail com)
author michael
date Sat, 18 Jun 2005 01:52:24 +0000
parents 5f3e609d7361
children 977417187c64
line wrap: on
line diff
--- a/avformat.h	Wed Jun 15 20:50:12 2005 +0000
+++ b/avformat.h	Sat Jun 18 01:52:24 2005 +0000
@@ -5,7 +5,7 @@
 extern "C" {
 #endif
 
-#define LIBAVFORMAT_BUILD       4626
+#define LIBAVFORMAT_BUILD       4627
 
 #define LIBAVFORMAT_VERSION_INT FFMPEG_VERSION_INT
 #define LIBAVFORMAT_VERSION     FFMPEG_VERSION
@@ -327,6 +327,12 @@
     int packet_size;
     int preload;
     int max_delay;
+
+#define AVFMT_NOOUTPUTLOOP -1 
+#define AVFMT_INFINITEOUTPUTLOOP 0 
+    /* number of times to loop output in formats that support it */
+    int loop_output;
+    
 } AVFormatContext;
 
 typedef struct AVPacketList {