Mercurial > libavformat.hg
diff dv.c @ 4007:d5eb96f97305 libavformat
spelling cosmetics
author | diego |
---|---|
date | Fri, 24 Oct 2008 21:37:06 +0000 |
parents | 8c5a32f0d479 |
children | 8af7a177b17d |
line wrap: on
line diff
--- a/dv.c Fri Oct 24 18:36:26 2008 +0000 +++ b/dv.c Fri Oct 24 21:37:06 2008 +0000 @@ -116,12 +116,13 @@ quant = as_pack[4] & 0x07; /* 0 - 16bit linear, 1 - 12bit nonlinear */ if (quant > 1) - return -1; /* Unsupported quantization */ + return -1; /* unsupported quantization */ size = (sys->audio_min_samples[freq] + smpls) * 4; /* 2ch, 2bytes */ half_ch = sys->difseg_size/2; - /* We work with 720p frames split in half, thus even frames have channels 0,1 and odd 2,3 */ + /* We work with 720p frames split in half, thus even frames have + * channels 0,1 and odd 2,3 */ ipcm = (sys->height == 720 && !(frame[1]&0x0C))?2:0; pcm = ppcm[ipcm++]; @@ -335,7 +336,8 @@ dv_extract_audio(buf, ppcm, c->sys); c->abytes += size; - /* We work with 720p frames split in half, thus even frames have channels 0,1 and odd 2,3 */ + /* We work with 720p frames split in half, thus even frames have + * channels 0,1 and odd 2,3. */ if (c->sys->height == 720) { if (buf[1]&0x0C) c->audio_pkt[2].size = c->audio_pkt[3].size = 0;