From a7e2d3da8645a838801909baeddb1c0af277599e Mon Sep 17 00:00:00 2001 From: iive Date: Thu, 27 Dec 2001 18:38:10 +0000 Subject: fixed few segfaults, make parse_codec_cfg() return int git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3799 b3059339-0415-0410-9bf9-f77b7e298cf2 --- codec-cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'codec-cfg.h') diff --git a/codec-cfg.h b/codec-cfg.h index faaf797fcf..592779b9cf 100644 --- a/codec-cfg.h +++ b/codec-cfg.h @@ -78,7 +78,7 @@ typedef struct codecs_st { short priority; } codecs_t; -codecs_t** parse_codec_cfg(char *cfgfile); +int parse_codec_cfg(char *cfgfile); codecs_t* find_video_codec(unsigned int fourcc, unsigned int *fourccmap, codecs_t *start); codecs_t* find_audio_codec(unsigned int fourcc, unsigned int *fourccmap, codecs_t *start); codecs_t* find_codec(unsigned int fourcc,unsigned int *fourccmap,codecs_t *start,int audioflag); -- cgit v1.2.3