diff --git a/src/608_sami.c b/src/608_sami.c index 0c0a9802..74ff2d2a 100644 --- a/src/608_sami.c +++ b/src/608_sami.c @@ -84,18 +84,20 @@ int write_cc_bitmap_as_sami(struct cc_subtitle *sub, struct encoder_ctx *context int x_pos, y_pos, width, height, i; int x, y, y_off, x_off, ret; uint8_t *pbuf; - char *filename; + //char *filename; struct cc_bitmap* rect; png_color *palette = NULL; png_byte *alpha = NULL; #ifdef ENABLE_OCR char*str = NULL; #endif - int used; - unsigned h1,m1,s1,ms1; - unsigned h2,m2,s2,ms2; + //int used; +#ifdef ENABLE_OCR + unsigned h1, m1, s1, ms1; + unsigned h2, m2, s2, ms2; +#endif; LLONG ms_start, ms_end; - char timeline[128]; + //char timeline[128]; int len = 0; x_pos = -1; diff --git a/src/608_smptett.c b/src/608_smptett.c index 9766bd0f..5651212a 100644 --- a/src/608_smptett.c +++ b/src/608_smptett.c @@ -109,18 +109,20 @@ int write_cc_bitmap_as_smptett(struct cc_subtitle *sub, struct encoder_ctx *cont int x_pos, y_pos, width, height, i; int x, y, y_off, x_off, ret; uint8_t *pbuf; - char *filename; + //char *filename; struct cc_bitmap* rect; png_color *palette = NULL; png_byte *alpha = NULL; #ifdef ENABLE_OCR char*str = NULL; #endif - int used; - unsigned h1,m1,s1,ms1; - unsigned h2,m2,s2,ms2; + //int used; +#ifdef ENABLE_OCR + unsigned h1, m1, s1, ms1; + unsigned h2, m2, s2, ms2; +#endif; LLONG ms_start, ms_end; - char timeline[128]; + //char timeline[128]; int len = 0; x_pos = -1; diff --git a/src/608_srt.c b/src/608_srt.c index c605b82a..fb3939b9 100644 --- a/src/608_srt.c +++ b/src/608_srt.c @@ -78,18 +78,20 @@ int write_cc_bitmap_as_srt(struct cc_subtitle *sub, struct encoder_ctx *context) int x_pos, y_pos, width, height, i; int x, y, y_off, x_off, ret; uint8_t *pbuf; - char *filename; + //char *filename; struct cc_bitmap* rect; png_color *palette = NULL; png_byte *alpha = NULL; #ifdef ENABLE_OCR char*str = NULL; #endif - int used; - unsigned h1,m1,s1,ms1; - unsigned h2,m2,s2,ms2; + //int used; +#ifdef ENABLE_OCR + unsigned h1, m1, s1, ms1; + unsigned h2, m2, s2, ms2; +#endif; LLONG ms_start, ms_end; - char timeline[128]; + //char timeline[128]; int len = 0; x_pos = -1; diff --git a/src/ccx_encoders_common.c b/src/ccx_encoders_common.c index 9bf258d9..99ebd9c5 100644 --- a/src/ccx_encoders_common.c +++ b/src/ccx_encoders_common.c @@ -224,18 +224,20 @@ int write_cc_bitmap_as_transcript(struct cc_subtitle *sub, struct encoder_ctx *c int x_pos, y_pos, width, height, i; int x, y, y_off, x_off, ret; uint8_t *pbuf; - char *filename; + //char *filename; struct cc_bitmap* rect; png_color *palette = NULL; png_byte *alpha = NULL; #ifdef ENABLE_OCR char*str = NULL; #endif - int used; + //int used; +#ifdef ENABLE_OCR unsigned h1,m1,s1,ms1; unsigned h2,m2,s2,ms2; +#endif; LLONG start_time, end_time; - char timeline[128]; + //char timeline[128]; int len = 0; x_pos = -1;