view libmpdemux/mf.h @ 22280:a5e5b0c45c03

Split command/property handling from mplayer.c to a new file command.c. Move some global and static variables under a struct that can be given as a parameter. Add a context argument to the property functions so that they do not have to depend on global/static variables.
author uau
date Wed, 21 Feb 2007 00:49:24 +0000
parents 0c7ad1c632cc
children 3f0d00abc073
line wrap: on
line source


#ifndef _MF_H
#define _MF_H

extern int    mf_w;
extern int    mf_h;
extern float  mf_fps;
extern char * mf_type;

typedef struct
{
 int curr_frame;
 int nr_of_files;
 char ** names;
} mf_t;

mf_t* open_mf(char * filename);

#endif