view libass/ass_fontconfig.h @ 19877:f16afec4c9c0

Fix missleading msg printed when subcp_open is given NULL as parameter (like as demux_ogg and demux_mkv do) Patch by: Zuxy Meng %zuxy.meng A gmail P com% Original Thread: Message-ID: <a18e06b40609160400l74263121p5f41eaf3549caf5@mail.gmail.com> Date: Sat, 16 Sep 2006 19:00:57 +0800 To: mplayer-dev-eng@mplayerhq.hu Subject: [MPlayer-dev-eng] [PATCH] Remove erroneaus warning message in subreader.c
author gpoirier
date Mon, 18 Sep 2006 11:47:41 +0000
parents 9e95ac641e77
children fa122b7c71c6
line wrap: on
line source

#ifndef __ASS_FONTCONFIG_H__
#define __ASS_FONTCONFIG_H__

typedef struct fc_instance_s fc_instance_t;

fc_instance_t* fontconfig_init(const char* dir, const char* family, const char* path);
char* fontconfig_select(fc_instance_t* priv, const char* family, unsigned bold, unsigned italic, int* index);
void fontconfig_done(fc_instance_t* priv);

#endif