From 3a0cd27f78beadddff62fd14c4273d202fe932fe Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Fri, 25 Oct 2002 08:12:42 +0000 Subject: add tosvcd 0.7 SVCD transcoder --- multimedia/tosvcd/files/patch-decode.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 multimedia/tosvcd/files/patch-decode.c (limited to 'multimedia/tosvcd/files/patch-decode.c') diff --git a/multimedia/tosvcd/files/patch-decode.c b/multimedia/tosvcd/files/patch-decode.c new file mode 100644 index 000000000000..9c13da9dfde4 --- /dev/null +++ b/multimedia/tosvcd/files/patch-decode.c @@ -0,0 +1,20 @@ +--- decode.c.orig Fri Oct 25 16:01:13 2002 ++++ decode.c Fri Oct 25 16:01:31 2002 +@@ -21,7 +21,7 @@ + Mpeg2dec::Mpeg2dec(uint32_t mm_accel) + { + config.flags = mm_accel; +- picture = (picture_t*)memalign (16, sizeof (picture_t)); ++ picture = (picture_t*)malloc(sizeof (picture_t)); + memset(picture, 0, sizeof (picture_t)); + frames = 0; + frame_ptr[0] = 0; +@@ -66,7 +66,7 @@ + int size = width() * height() / 4; + if (frames) + free(frames); +- frames = (unsigned char*)memalign(64, size*18); ++ frames = (unsigned char*)malloc(size*18); + unsigned char* alloc = frames; + + for (int i = 0; i < 3; i++) { -- cgit v1.2.3