git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1a16272
)
added some comments.
author
kramm
<kramm>
Sun, 28 Nov 2004 13:50:51 +0000
(13:50 +0000)
committer
kramm
<kramm>
Sun, 28 Nov 2004 13:50:51 +0000
(13:50 +0000)
avi2swf/videoreader_dummy.cc
patch
|
blob
|
history
diff --git
a/avi2swf/videoreader_dummy.cc
b/avi2swf/videoreader_dummy.cc
index
4887ef2
..
af92b4e
100644
(file)
--- a/
avi2swf/videoreader_dummy.cc
+++ b/
avi2swf/videoreader_dummy.cc
@@
-86,20
+86,20
@@
int videoreader_dummy_open(videoreader_t* v, char* filename)
i = (my_internal*)malloc(sizeof(my_internal));
memset(i, 0, sizeof(my_internal));
v->internal = i;
i = (my_internal*)malloc(sizeof(my_internal));
memset(i, 0, sizeof(my_internal));
v->internal = i;
-
- i->len = 2000; //number of frames
-
- v->width = 320;
- v->height = 200;
- v->channels = 2;
- v->samplerate = 44100;
- v->fps = 15;
-
v->getsamples = my_getsamples;
v->close = my_close;
v->getimage = my_getimage;
v->getsamples = my_getsamples;
v->setparameter = my_setparameter;
v->getsamples = my_getsamples;
v->close = my_close;
v->getimage = my_getimage;
v->getsamples = my_getsamples;
v->setparameter = my_setparameter;
+ i->len = 2000; //number of frames
+
+ v->width = 320; // video
+ v->height = 200;
+ v->fps = 15;
+
+ v->channels = 0; // no audio
+ v->samplerate = 0;
+
return 0;
}
return 0;
}