diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-10-24 21:37:06 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-10-24 21:37:06 +0000 |
commit | 75f2c20983b5f6893f243c31df0b9b0c07f5a0b3 (patch) | |
tree | b4967d37efca6905080d9c7fc25336b8ec8aa878 /libavformat/dv.c | |
parent | 4599d22c0cd7fa952bc02375d2899d8c9a31b9ae (diff) | |
download | ffmpeg-75f2c20983b5f6893f243c31df0b9b0c07f5a0b3.tar.gz |
spelling cosmetics
Originally committed as revision 15681 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/dv.c')
-rw-r--r-- | libavformat/dv.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libavformat/dv.c b/libavformat/dv.c index c5fecd10fb..529008b9af 100644 --- a/libavformat/dv.c +++ b/libavformat/dv.c @@ -116,12 +116,13 @@ static int dv_extract_audio(uint8_t* frame, uint8_t* ppcm[4], 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 @@ int dv_produce_packet(DVDemuxContext *c, AVPacket *pkt, 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; |