From: Sophie Brun <sophie@freexian.com>
Date: Thu, 22 Nov 2018 12:15:49 +0100
Subject: Fix typos

Last-Update: 2018-04-09
---
 src/GUI/tabs.c                  | 2 +-
 src/gpacmp4/av_parsers.c        | 2 +-
 src/gpacmp4/avc_ext.c           | 2 +-
 src/gpacmp4/descriptors.c       | 2 +-
 src/lib_ccx/avc_functions.c     | 4 ++--
 src/lib_ccx/ccx_decoders_708.c  | 4 ++--
 src/lib_ccx/ccx_decoders_isdb.c | 2 +-
 src/lib_ccx/ccx_demuxer_mxf.c   | 2 +-
 src/lib_ccx/params.c            | 2 +-
 src/lib_ccx/params_dump.c       | 2 +-
 10 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/GUI/tabs.c b/src/GUI/tabs.c
index e2d83c7..c9ffaa5 100644
--- a/src/GUI/tabs.c
+++ b/src/GUI/tabs.c
@@ -838,7 +838,7 @@ void draw_debug_tab(struct nk_context *ctx, int *tab_screen_height,
 	}
 
 	nk_layout_row_dynamic(ctx, 25, 1);
-	nk_checkbox_label(ctx, "Dump Intereseting packets, usually those that don't seem to follow specs.", &debug->is_dump_packets);
+	nk_checkbox_label(ctx, "Dump Interesting packets, usually those that don't seem to follow specs.", &debug->is_dump_packets);
 
 	nk_layout_row_dynamic(ctx, 25, 1);
 	nk_checkbox_label(ctx, "Print debug traces from EIA-608 decoder.", &debug->is_debug_608);
diff --git a/src/gpacmp4/av_parsers.c b/src/gpacmp4/av_parsers.c
index 9cb8d13..ec3d3a6 100644
--- a/src/gpacmp4/av_parsers.c
+++ b/src/gpacmp4/av_parsers.c
@@ -3154,7 +3154,7 @@ u32 gf_media_avc_reformat_sei(char *buffer, u32 nal_size, AVCState *avc)
 
 		if (start+psize >= nal_size) {
 			if (written == 1) written = 0;
-			GF_LOG(GF_LOG_WARNING, GF_LOG_CODING, ("[avc-h264] SEI user message type %d size error (%d but %d remain), skiping %sSEI message\n", ptype, psize, nal_size-start, written ? "end of " : ""));
+			GF_LOG(GF_LOG_WARNING, GF_LOG_CODING, ("[avc-h264] SEI user message type %d size error (%d but %d remain), skipping %sSEI message\n", ptype, psize, nal_size-start, written ? "end of " : ""));
 			break;
 		}
 
diff --git a/src/gpacmp4/avc_ext.c b/src/gpacmp4/avc_ext.c
index c59f2ce..3c3549e 100644
--- a/src/gpacmp4/avc_ext.c
+++ b/src/gpacmp4/avc_ext.c
@@ -221,7 +221,7 @@ static GF_Err process_extractor(GF_ISOFile *file, GF_MediaBox *mdia, u32 sampleN
 
 				}
 			} else {
-				GF_LOG(GF_LOG_ERROR, GF_LOG_CONTAINER, ("ISOBMF: Extractor size is larger than refered sample size - skipping.\n"));
+				GF_LOG(GF_LOG_ERROR, GF_LOG_CONTAINER, ("ISOBMF: Extractor size is larger than referred sample size - skipping.\n"));
 			}
 			gf_isom_sample_del(&ref_samp);
 			ref_samp = NULL;
diff --git a/src/gpacmp4/descriptors.c b/src/gpacmp4/descriptors.c
index 0fdff7d..a1603ad 100644
--- a/src/gpacmp4/descriptors.c
+++ b/src/gpacmp4/descriptors.c
@@ -1198,7 +1198,7 @@ const char *gf_esd_get_textual_description(GF_ESD *esd)
 		case GPAC_OTI_AUDIO_AAC_MPEG2_LCP:
 			return "MPEG-2 AAC Low Complexity Profile";
 		case GPAC_OTI_AUDIO_AAC_MPEG2_SSRP:
-			return "MPEG-2 AAC Scaleable Sampling Rate Profile";
+			return "MPEG-2 AAC Scalable Sampling Rate Profile";
 		case GPAC_OTI_AUDIO_MPEG2_PART3:
 			return "MPEG-2 Audio Part 3";
 		case GPAC_OTI_AUDIO_MPEG1:
diff --git a/src/lib_ccx/avc_functions.c b/src/lib_ccx/avc_functions.c
index aad7196..7a59f1a 100644
--- a/src/lib_ccx/avc_functions.c
+++ b/src/lib_ccx/avc_functions.c
@@ -838,7 +838,7 @@ void seq_parameter_set_rbsp (struct avc_ctx *ctx, unsigned char *seqbuf, unsigne
 		dvprint("nal_hrd_parameters_present_flag=               % 4lld (%#llX)\n",tmp,tmp);
 		if ( tmp )
 		{
-			dvprint ("nal_hrd. Not implemented for now. Hopefully not needed. Skiping rest of NAL\n");
+			dvprint ("nal_hrd. Not implemented for now. Hopefully not needed. Skipping rest of NAL\n");
 			//printf("Boom nal_hrd\n");
 			// exit(1);
 			ctx->num_nal_hrd++;
@@ -849,7 +849,7 @@ void seq_parameter_set_rbsp (struct avc_ctx *ctx, unsigned char *seqbuf, unsigne
 		if ( tmp )
 		{
 			// TODO.
-			mprint ("vcl_hrd. Not implemented for now. Hopefully not needed. Skiping rest of NAL\n");
+			mprint ("vcl_hrd. Not implemented for now. Hopefully not needed. Skipping rest of NAL\n");
 			ctx->num_vcl_hrd++;
 			// exit(1);
 		}
diff --git a/src/lib_ccx/ccx_decoders_708.c b/src/lib_ccx/ccx_decoders_708.c
index a837db9..0c13029 100644
--- a/src/lib_ccx/ccx_decoders_708.c
+++ b/src/lib_ccx/ccx_decoders_708.c
@@ -1691,7 +1691,7 @@ void ccx_dtvcc_process_service_block(ccx_dtvcc_ctx *dtvcc,
 			if (used == -1)
 			{
 				ccx_common_logging.debug_ftn(CCX_DMT_708, "[CEA-708] ccx_dtvcc_process_service_block: "
-						"There was a problem handling the data. Reseting service decoder\n");
+						"There was a problem handling the data. Resetting service decoder\n");
 				// TODO: Not sure if a local reset is going to be helpful here.
 				//ccx_dtvcc_windows_reset(decoder);
 				return;
@@ -1802,7 +1802,7 @@ void ccx_dtvcc_process_current_packet(ccx_dtvcc_ctx *dtvcc)
 	if (pos != dtvcc->current_packet + len) // For some reason we didn't parse the whole packet
 	{
 		ccx_common_logging.debug_ftn(CCX_DMT_708, "[CEA-708] ccx_dtvcc_process_current_packet:"
-				" There was a problem with this packet, reseting\n");
+				" There was a problem with this packet, resetting\n");
 		_dtvcc_decoders_reset(dtvcc);
 	}
 
diff --git a/src/lib_ccx/ccx_decoders_isdb.c b/src/lib_ccx/ccx_decoders_isdb.c
index 6cc7f42..c488ff1 100644
--- a/src/lib_ccx/ccx_decoders_isdb.c
+++ b/src/lib_ccx/ccx_decoders_isdb.c
@@ -1392,7 +1392,7 @@ int isdbsub_decode(struct lib_cc_decode *dec_ctx, const uint8_t *buf, size_t buf
 	ISDBSubContext *ctx = dec_ctx->private_data;
 	if(*buf++ != 0x80)
 	{
-		mprint("\nNot a Syncronised PES\n");
+		mprint("\nNot a Synchronised PES\n");
 		return -1;
 	}
 	/* private data stream = 0xFF */
diff --git a/src/lib_ccx/ccx_demuxer_mxf.c b/src/lib_ccx/ccx_demuxer_mxf.c
index 0a2edec..bb275f2 100644
--- a/src/lib_ccx/ccx_demuxer_mxf.c
+++ b/src/lib_ccx/ccx_demuxer_mxf.c
@@ -147,7 +147,7 @@ static int mxf_read_header_partition_pack(struct ccx_demuxer *demux, uint64_t si
 
 	if (size < 88)
 	{
-		log("Mimimum Length of Partition pack is 88 but found %d\n", size);
+		log("Minimum Length of Partition pack is 88 but found %d\n", size);
 		return CCX_EINVAL;
 	}
 
diff --git a/src/lib_ccx/params.c b/src/lib_ccx/params.c
index ad49247..9c99752 100644
--- a/src/lib_ccx/params.c
+++ b/src/lib_ccx/params.c
@@ -2408,7 +2408,7 @@ int parse_parameters (struct ccx_s_options *opt, int argc, char *argv[])
 
 	if(opt->extract_chapters)
 	{
-		mprint("Request to extract chapters recieved.\n");
+		mprint("Request to extract chapters received.\n");
 		mprint("Note that this must only be used with MP4 files,\n");
 		mprint("for other files it will simply generate subtitles file.\n\n");
 	}
diff --git a/src/lib_ccx/params_dump.c b/src/lib_ccx/params_dump.c
index b6b50f3..93f370a 100644
--- a/src/lib_ccx/params_dump.c
+++ b/src/lib_ccx/params_dump.c
@@ -254,7 +254,7 @@ void print_file_report(struct lib_ccx_ctx *ctx)
 		case CCX_DS_FILE:
 			if (ctx->current_file < 0)
 			{
-				printf("file is not openened yet\n");
+				printf("file is not opened yet\n");
 				return;
 			}
 
