aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorTodd Kirby <doubleshot@pacbell.net>2005-06-18 01:52:24 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-06-18 01:52:24 +0000
commit8108551a5c4c4c9696582c73d000f94b12cd95a5 (patch)
tree2ec75876931d8d935492d183fbcac69db2fbe64d /libavformat/avformat.h
parentbb628dae442f85fc8814d7c60c744a409fa001ab (diff)
downloadffmpeg-8108551a5c4c4c9696582c73d000f94b12cd95a5.tar.gz
Animated GIF looping patch by (Todd Kirby // ffmpeg.php gmail com)
Originally committed as revision 4383 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index f81a4f37fa..705ff008b9 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -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 @@ typedef struct AVFormatContext {
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 {