aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/png.c2
-rw-r--r--libavformat/avformat.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/png.c b/libavcodec/png.c
index 5e30f42ad1..5f9b1cdccd 100644
--- a/libavcodec/png.c
+++ b/libavcodec/png.c
@@ -180,7 +180,7 @@ static void png_put_interlaced_row(uint8_t *dst, int width,
dsp_mask = png_pass_dsp_mask[pass];
switch(bits_per_pixel) {
case 1:
- /* we must intialize the line to zero before writing to it */
+ /* we must initialize the line to zero before writing to it */
if (pass == 0)
memset(dst, 0, (width + 7) >> 3);
src_x = 0;
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 3faf6b6146..fa9be314e4 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -64,7 +64,7 @@ void av_destruct_packet(AVPacket *pkt);
void av_init_packet(AVPacket *pkt);
/**
- * Allocate the payload of a packet and intialize its fields to default values.
+ * Allocate the payload of a packet and initialize its fields to default values.
*
* @param pkt packet
* @param size wanted payload size
@@ -73,7 +73,7 @@ void av_init_packet(AVPacket *pkt);
int av_new_packet(AVPacket *pkt, int size);
/**
- * Allocate and read the payload of a packet and intialize its fields to default values.
+ * Allocate and read the payload of a packet and initialize its fields to default values.
*
* @param pkt packet
* @param size wanted payload size