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:
a7a60c1
)
moved to lib/h.263, bugfix in width/height parsing.
author
kramm
<kramm>
Sun, 13 Apr 2003 17:45:09 +0000
(17:45 +0000)
committer
kramm
<kramm>
Sun, 13 Apr 2003 17:45:09 +0000
(17:45 +0000)
lib/h.263/video.c
patch
|
blob
|
history
diff --git
a/lib/h.263/video.c
b/lib/h.263/video.c
index
cd7d2c4
..
5200946
100644
(file)
--- a/
lib/h.263/video.c
+++ b/
lib/h.263/video.c
@@
-5,13
+5,13
@@
Copyright (c) 2003 Matthias Kramm <kramm@quiss.org> */
Copyright (c) 2003 Matthias Kramm <kramm@quiss.org> */
-#include "../config.h"
+#include "../../config.h"
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <stdarg.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <stdarg.h>
-#include "../lib/rfxswf.h"
-#include "../lib/args.h"
+#include "../rfxswf.h"
+#include "../args.h"
#include "h263tables.c"
static char * filename = 0;
#include "h263tables.c"
static char * filename = 0;
@@
-400,7
+400,7
@@
void handleVideoFrame(TAG*tag, char*prefix)
sizeflags = swf_GetBits(tag, 3);
switch(sizeflags)
{
sizeflags = swf_GetBits(tag, 3);
switch(sizeflags)
{
- case 0: width = swf_GetU8(tag); height = swf_GetU8(tag); break;
+ case 0: width = swf_GetBits(tag,8); height = swf_GetBits(tag,8); break;
case 1: width = swf_GetBits(tag, 16); height = swf_GetBits(tag, 16); break;
case 2: width = 352; height = 288; break;
case 3: width = 176; height = 144; break;
case 1: width = swf_GetBits(tag, 16); height = swf_GetBits(tag, 16); break;
case 2: width = 352; height = 288; break;
case 3: width = 176; height = 144; break;