diff codec-cfg.h @ 3798:d1e3ad5bcd8f

fixed few segfaults, make parse_codec_cfg() return int
author iive
date Thu, 27 Dec 2001 18:38:10 +0000
parents 55603340d1b2
children 53ed66a4f0bf
line wrap: on
line diff
--- a/codec-cfg.h	Thu Dec 27 18:37:19 2001 +0000
+++ b/codec-cfg.h	Thu Dec 27 18:38:10 2001 +0000
@@ -78,7 +78,7 @@
   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);