X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fh.263%2Fvideo.c;h=5200946cbf5f9fa8378d0b11f2df32b9074660cc;hp=cd7d2c493547fa3e37c9422f7862e96244807ff3;hb=73ad76d5e87558441fd67c1b48452a4d5f5a39af;hpb=a7a60c127b70f891c5bb1ecf58b9e90dfbfb1e41 diff --git a/lib/h.263/video.c b/lib/h.263/video.c index cd7d2c4..5200946 100644 --- a/lib/h.263/video.c +++ b/lib/h.263/video.c @@ -5,13 +5,13 @@ Copyright (c) 2003 Matthias Kramm */ -#include "../config.h" +#include "../../config.h" #include #include #include #include -#include "../lib/rfxswf.h" -#include "../lib/args.h" +#include "../rfxswf.h" +#include "../args.h" #include "h263tables.c" static char * filename = 0; @@ -400,7 +400,7 @@ void handleVideoFrame(TAG*tag, char*prefix) 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;