summaryrefslogtreecommitdiffstats
path: root/codec-cfg.h
diff options
context:
space:
mode:
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-27 18:38:10 +0000
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-27 18:38:10 +0000
commita7e2d3da8645a838801909baeddb1c0af277599e (patch)
tree3b20c5624616e408934f4614e8e28e5b89d1662a /codec-cfg.h
parentcd93982e49480ff53fe126e4f7601c067f5e94a1 (diff)
downloadmpv-a7e2d3da8645a838801909baeddb1c0af277599e.tar.bz2
mpv-a7e2d3da8645a838801909baeddb1c0af277599e.tar.xz
fixed few segfaults, make parse_codec_cfg() return int
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3799 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'codec-cfg.h')
-rw-r--r--codec-cfg.h2
1 files changed, 1 insertions, 1 deletions
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);