X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fpcm-dvd.c;h=62aacf829a4b5fda3ff9e322fbadfc93fabbe9b5;hb=e328178da90f44690e0076f4dbfd16da9175f441;hp=744b720c7397f4ec1011daf5744d69a16b102617;hpb=def97856de6021965db86c25a732d78689bd6bb0;p=ffmpeg diff --git a/libavcodec/pcm-dvd.c b/libavcodec/pcm-dvd.c index 744b720c739..62aacf829a4 100644 --- a/libavcodec/pcm-dvd.c +++ b/libavcodec/pcm-dvd.c @@ -32,7 +32,7 @@ typedef struct PCMDVDContext { uint32_t last_header; // Cached header to see if parsing is needed int block_size; // Size of a block of samples in bytes int samples_per_block; // Number of samples per channel per block - int groups_per_block; // Number of 20/24bit sample groups per block + int groups_per_block; // Number of 20/24-bit sample groups per block uint8_t *extra_samples; // Pointer to leftover samples from a frame int extra_sample_count; // Number of leftover samples in the buffer } PCMDVDContext; @@ -102,7 +102,7 @@ static int pcm_dvd_parse_header(AVCodecContext *avctx, const uint8_t *header) avctx->sample_rate * avctx->bits_per_coded_sample; - /* 4 samples form a group in 20/24bit PCM on DVD Video. + /* 4 samples form a group in 20/24-bit PCM on DVD Video. * A block is formed by the number of groups that are * needed to complete a set of samples for each channel. */ if (avctx->bits_per_coded_sample == 16) {