X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fvp3.c;h=fa749be0b758bf8d9d61300e359a179aade90f4d;hb=70d48accd8558f4b7386df369290a3ec85cd1537;hp=5bbf47b52df8991c12c56a717b261ae6d64b53a7;hpb=c01f1157acbec4274a38a728cf7fa9731ef23d82;p=ffmpeg diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 5bbf47b52df..fa749be0b75 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2004 The FFmpeg Project + * Copyright (C) 2003-2004 The FFmpeg project * * This file is part of FFmpeg. * @@ -946,14 +946,14 @@ static int unpack_vlcs(Vp3DecodeContext *s, GetBitContext *gb, int num_coeffs = s->num_coded_frags[plane][coeff_index]; int16_t *dct_tokens = s->dct_tokens[plane][coeff_index]; - /* local references to structure members to avoid repeated deferences */ + /* local references to structure members to avoid repeated dereferences */ int *coded_fragment_list = s->coded_fragment_list[plane]; Vp3Fragment *all_fragments = s->all_fragments; VLC_TYPE(*vlc_table)[2] = table->table; if (num_coeffs < 0) av_log(s->avctx, AV_LOG_ERROR, - "Invalid number of coefficents at level %d\n", coeff_index); + "Invalid number of coefficients at level %d\n", coeff_index); if (eob_run > num_coeffs) { coeff_i = @@ -1124,7 +1124,7 @@ static int unpack_dct_coeffs(Vp3DecodeContext *s, GetBitContext *gb) c_tables[i] = &s->ac_vlc_4[ac_c_table]; } - /* decode all AC coefficents */ + /* decode all AC coefficients */ for (i = 1; i <= 63; i++) { residual_eob_run = unpack_vlcs(s, gb, y_tables[i], i, 0, residual_eob_run); @@ -1322,7 +1322,7 @@ static void apply_loop_filter(Vp3DecodeContext *s, int plane, for (x = 0; x < width; x++) { /* This code basically just deblocks on the edges of coded blocks. * However, it has to be much more complicated because of the - * braindamaged deblock ordering used in VP3/Theora. Order matters + * brain damaged deblock ordering used in VP3/Theora. Order matters * because some pixels get filtered twice. */ if (s->all_fragments[fragment].coding_method != MODE_COPY) { /* do not perform left edge filter for left columns frags */ @@ -1595,7 +1595,7 @@ static void render_slice(Vp3DecodeContext *s, int slice) /* Note, it is possible to implement all MC cases * with put_no_rnd_pixels_l2 which would look more * like the VP3 source but this would be slower as - * put_no_rnd_pixels_tab is better optimzed */ + * put_no_rnd_pixels_tab is better optimized */ if (motion_halfpel_index != 3) { s->hdsp.put_no_rnd_pixels_tab[1][motion_halfpel_index]( output_plane + first_pixel,