summaryrefslogtreecommitdiffstats
path: root/libvo/spuenc.c
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/spuenc.c
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/spuenc.c')
-rw-r--r--libvo/spuenc.c6
1 files changed, 6 insertions, 0 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;