summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-16 19:39:30 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-16 19:39:30 +0000
commit50973f0044fb27d7b8b181316bc1f3fb39e010e3 (patch)
treebbf4174d15f00d4d34892e18cc187218f490b84a /libvo
parent0dc08a811d455dbc1baf18056a8686bc6ba80586 (diff)
downloadmpv-50973f0044fb27d7b8b181316bc1f3fb39e010e3.tar.bz2
mpv-50973f0044fb27d7b8b181316bc1f3fb39e010e3.tar.xz
Move struct typedef pixbuf into the only .c file where it is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30603 b3059339-0415-0410-9bf9-f77b7e298cf2
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 */