From 50973f0044fb27d7b8b181316bc1f3fb39e010e3 Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 16 Feb 2010 19:39:30 +0000 Subject: 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 --- libvo/spuenc.c | 6 ++++++ libvo/spuenc.h | 7 ------- 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 #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 */ -- cgit v1.2.3