# HG changeset patch # User reimar # Date 1266349170 0 # Node ID 84d86f175613ffec4f33c8a7607c67ba6682b51c # Parent 5404e0c3acce758b868ab7a8f10f6bc23e45d07d Move struct typedef pixbuf into the only .c file where it is used. diff -r 5404e0c3acce -r 84d86f175613 libvo/spuenc.c --- a/libvo/spuenc.c Tue Feb 16 19:36:36 2010 +0000 +++ b/libvo/spuenc.c Tue Feb 16 19:39:30 2010 +0000 @@ -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 -r 5404e0c3acce -r 84d86f175613 libvo/spuenc.h --- a/libvo/spuenc.h Tue Feb 16 19:36:36 2010 +0000 +++ b/libvo/spuenc.h Tue Feb 16 19:39:30 2010 +0000 @@ -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 */