mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 00:06:25 +01:00
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
This commit is contained in:
parent
0dc08a811d
commit
50973f0044
@ -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;
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user