summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-07-12 11:31:03 -0700
committerJohn Stebbins <[email protected]>2019-08-11 15:54:27 -0700
commit93bbc62c454274b8be23705e10438fc0ee31ac24 (patch)
tree0f239a1b6612407259d28bf5d9f04f3ecf637477 /libhb/common.h
parent7e5b372eeb3db720b0bc22419f621f40eff6dd87 (diff)
libhb: eliminate file path length limits
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 6cf949881..e5f53b993 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -302,9 +302,9 @@ struct hb_subtitle_config_s
const char * name;
/* SRT subtitle tracks only */
- char src_filename[256];
- char src_codeset[40];
- int64_t offset;
+ const char * src_filename;
+ char src_codeset[40];
+ int64_t offset;
};
/*******************************************************************************
@@ -457,7 +457,7 @@ struct hb_title_set_s
{
hb_list_t * list_title;
int feature; // Detected DVD feature title
- char path[1024];
+ const char * path;
};
typedef enum
@@ -1047,8 +1047,8 @@ struct hb_title_s
{
enum { HB_DVD_TYPE, HB_BD_TYPE, HB_STREAM_TYPE, HB_FF_STREAM_TYPE } type;
uint32_t reg_desc;
- char path[1024];
- char name[1024];
+ const char * path;
+ const char * name;
int index;
int playlist;
int angle_count;