summaryrefslogtreecommitdiff
path: root/graphics/libdivxdecore-devel/files/patch-src::store.c
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-09-24 18:02:18 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-09-24 18:02:18 +0000
commit4acd2bcfe6082e19635f569d3ca62995ae3416a3 (patch)
treeea7a4c4c9313ca6825fd9d169f25ba217c52246f /graphics/libdivxdecore-devel/files/patch-src::store.c
parentUpdate to Vim 6.0 beta AX patchlevel 13 (diff)
o Update to development version OpenDivX Alpha 4.0 a 50, port version
0.4.0.50 o Bump lib version due to api changes: 0 -> 1
Diffstat (limited to 'graphics/libdivxdecore-devel/files/patch-src::store.c')
-rw-r--r--graphics/libdivxdecore-devel/files/patch-src::store.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/graphics/libdivxdecore-devel/files/patch-src::store.c b/graphics/libdivxdecore-devel/files/patch-src::store.c
new file mode 100644
index 000000000000..068db97f1a12
--- /dev/null
+++ b/graphics/libdivxdecore-devel/files/patch-src::store.c
@@ -0,0 +1,27 @@
+--- src/store.c.orig Mon Sep 24 14:37:06 2001
++++ src/store.c Mon Sep 24 14:37:23 2001
+@@ -55,20 +55,19 @@
+ /***/
+
+ // Purpose: store a frame in yuv format
+-void storeframe (unsigned char *src[], int width, int height)
++void storeframe (char *name, unsigned char *src[], int width, int height, int hor_size)
+ {
+ int offset = 0;
+- int hor_size = mp4_state->horizontal_size;
+
+- store_yuv (mp4_state->outputname, src[0], offset, width, hor_size, height);
++ store_yuv (name, src[0], offset, width, hor_size, height);
+
+ offset >>= 1;
+ width >>= 1;
+ height >>= 1;
+ hor_size >>= 1;
+
+- store_yuv (mp4_state->outputname, src[1], offset, width, hor_size, height);
+- store_yuv (mp4_state->outputname, src[2], offset, width, hor_size, height);
++ store_yuv (name, src[1], offset, width, hor_size, height);
++ store_yuv (name, src[2], offset, width, hor_size, height);
+ }
+
+ /***/