diff options
Diffstat (limited to 'subreader.h')
-rw-r--r-- | subreader.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/subreader.h b/subreader.h index 6fca6c5869..7a83e573c1 100644 --- a/subreader.h +++ b/subreader.h @@ -53,8 +53,9 @@ typedef struct { 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); |