diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-04-27 16:47:53 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-07-25 13:57:00 +0200 |
commit | c4ca73480c3e2646e25df1fd5766664e8af2d629 (patch) | |
tree | 3936aeb59ee6c26854bd9fb9eda45ff1e1a22487 | |
parent | 15d0cb98b8b0896fe56ad0267620c4eb2c4032fd (diff) |
cfhd: comment improvements
-rw-r--r-- | libavcodec/cfhd.c | 4 | ||||
-rw-r--r-- | libavcodec/cfhd.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index ca86c74ec9..85f5ef42d2 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -478,7 +478,7 @@ static int read_lowpass_coeffs(AVCodecContext *avctx, CFHDContext *s, /* Align to mod-4 position to continue reading tags */ bytestream2_seek(gb, bytestream2_tell(gb) & 3, SEEK_CUR); - /* Copy last coefficients line if odd height */ + /* Copy last coefficients line if height is odd. */ if (lowpass_height & 1) { memcpy(&coeff_data[lowpass_height * lowpass_width], &coeff_data[(lowpass_height - 1) * lowpass_width], @@ -580,7 +580,7 @@ static int read_highpass_coeffs(AVCodecContext *avctx, CFHDContext *s, count, count - expected); s->codebook = 0; - /* Copy last line of coefficients if odd height */ + /* Copy last line of coefficients if height is odd. */ if (highpass_height & 1) { memcpy(&coeff_data[ highpass_height * highpass_stride], &coeff_data[(highpass_height - 1) * highpass_stride], diff --git a/libavcodec/cfhd.h b/libavcodec/cfhd.h index 81e1cba21e..52f927e45e 100644 --- a/libavcodec/cfhd.h +++ b/libavcodec/cfhd.h @@ -86,7 +86,7 @@ typedef struct CFHDContext { int a_height; int a_format; - int bpc; + int bpc; // bits per channel/component int channel_cnt; int subband_cnt; int channel_num; |