Mercurial > mplayer.hg
diff subreader.h @ 12909:dc8eba991005
fixes a crash and unchecked string-handling in ENCA code.
Also does a bit of cleanup.
| author | reimar |
|---|---|
| date | Wed, 28 Jul 2004 12:40:35 +0000 |
| parents | ae4ae7ab636c |
| children | 12fd6739ecce |
line wrap: on
line diff
--- a/subreader.h Wed Jul 28 12:17:50 2004 +0000 +++ b/subreader.h Wed Jul 28 12:40:35 2004 +0000 @@ -53,8 +53,9 @@ sub_data* sub_read_file (char *filename, float pts); subtitle* subcp_recode1 (subtitle *sub); -void subcp_open (char *current_sub_cp); /* for demux_ogg.c */ -void subcp_open_noenca (); /* for demux_ogg.c */ +// enca_fd is the file enca uses to determine the codepage. +// setting to NULL disables enca. +void subcp_open (FILE *enca_fd); /* for demux_ogg.c */ void subcp_close (void); /* for demux_ogg.c */ char ** sub_filenames(char *path, char *fname); void list_sub_file(sub_data* subd);
