diff options
author | Lou Logan <lou@lrcd.com> | 2016-03-28 14:07:47 -0800 |
---|---|---|
committer | Lou Logan <lou@lrcd.com> | 2016-03-28 14:13:17 -0800 |
commit | 06eef96b69d73a31f2b390955d1be0537214a0c8 (patch) | |
tree | ca45453b9853a6ad358966292639148a036f3a1a /libavcodec/mpegvideo.c | |
parent | 99f2a59c2f298c2a8c0d1058759fd0ae81bc8c2e (diff) | |
download | ffmpeg-06eef96b69d73a31f2b390955d1be0537214a0c8.tar.gz |
fix some a/an typos
Signed-off-by: Lou Logan <lou@lrcd.com>
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 236987b3d4..bc78039c1e 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -772,7 +772,7 @@ static int init_context_frame(MpegEncContext *s) if (s->h263_pred || s->h263_plus || !s->encoding) { /* dc values */ - // MN: we need these for error resilience of intra-frames + // MN: we need these for error resilience of intra-frames FF_ALLOCZ_OR_GOTO(s->avctx, s->dc_val_base, yc_size * sizeof(int16_t), fail); s->dc_val[0] = s->dc_val_base + s->b8_stride + 1; s->dc_val[1] = s->dc_val_base + y_size + s->mb_stride + 1; @@ -781,13 +781,13 @@ static int init_context_frame(MpegEncContext *s) s->dc_val_base[i] = 1024; } - /* which mb is a intra block */ + /* which mb is an intra block */ FF_ALLOCZ_OR_GOTO(s->avctx, s->mbintra_table, mb_array_size, fail); memset(s->mbintra_table, 1, mb_array_size); /* init macroblock skip table */ FF_ALLOCZ_OR_GOTO(s->avctx, s->mbskip_table, mb_array_size + 2, fail); - // Note the + 1 is for a quicker mpeg4 slice_end detection + // Note the + 1 is for a quicker mpeg4 slice_end detection return ff_mpeg_er_init(s); fail: @@ -1224,7 +1224,7 @@ int ff_mpv_frame_start(MpegEncContext *s, AVCodecContext *avctx) } if (s->current_picture_ptr && !s->current_picture_ptr->f->buf[0]) { - // we already have a unused image + // we already have an unused image // (maybe it was set before reading the header) pic = s->current_picture_ptr; } else { |