summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--avi2swf/videoreader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/avi2swf/videoreader.h b/avi2swf/videoreader.h
index b9948441..73799a2a 100644
--- a/avi2swf/videoreader.h
+++ b/avi2swf/videoreader.h
@@ -20,6 +20,9 @@ typedef struct _videoreader_t
int channels;
int rate;
+ /* progress */
+ int frame;
+
void (*setparameter) (struct _videoreader_t*, char*name, char*value);
int (*getsamples) (struct _videoreader_t*, void*buffer, int num);
int (*getimage) (struct _videoreader_t*, void*buffer); // buffer must hold width*height*4 bytes