summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/spuenc.c6
-rw-r--r--libvo/spuenc.h7
2 files changed, 6 insertions, 7 deletions
diff --git a/libvo/spuenc.c b/libvo/spuenc.c
index bc35a06d18..10d93b0792 100644
--- a/libvo/spuenc.c
+++ b/libvo/spuenc.c
@@ -31,6 +31,12 @@
#include "unistd.h"
#include "spuenc.h"
+typedef struct {
+ int x, y;
+ unsigned int rgb[4];
+ unsigned char* pixels;
+} pixbuf;
+
static void
encode_do_control(int x,int y, encodedata* ed, pixbuf* pb) {
int controlstart= ed->count;
diff --git a/libvo/spuenc.h b/libvo/spuenc.h
index 7f4590b4ac..39b999b2d8 100644
--- a/libvo/spuenc.h
+++ b/libvo/spuenc.h
@@ -26,13 +26,6 @@
#include <stdlib.h>
#define DATASIZE 53220
-
-typedef struct {
- int x, y;
- unsigned int rgb[4];
- unsigned char* pixels;
-} pixbuf;
-
typedef struct {
unsigned char data[DATASIZE];
int count; /* the count of bytes written */