summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/cfhd.c4
-rw-r--r--libavcodec/cfhd.h2
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;