[MPlayer-cvslog] r30603 - in trunk/libvo: spuenc.c spuenc.h
reimar
subversion at mplayerhq.hu
Tue Feb 16 20:39:30 CET 2010
Author: reimar
Date: Tue Feb 16 20:39:30 2010
New Revision: 30603
Log:
Move struct typedef into the only .c file where it is used.
Modified:
trunk/libvo/spuenc.c
trunk/libvo/spuenc.h
Modified: trunk/libvo/spuenc.c
==============================================================================
--- trunk/libvo/spuenc.c Tue Feb 16 20:36:36 2010 (r30602)
+++ trunk/libvo/spuenc.c Tue Feb 16 20:39:30 2010 (r30603)
@@ -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;
Modified: trunk/libvo/spuenc.h
==============================================================================
--- trunk/libvo/spuenc.h Tue Feb 16 20:36:36 2010 (r30602)
+++ trunk/libvo/spuenc.h Tue Feb 16 20:39:30 2010 (r30603)
@@ -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 */
More information about the MPlayer-cvslog
mailing list