summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2008-08-03 16:42:32 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2008-08-03 16:42:32 +0000
commit14b7062829968e3e6f8974cbea1bbdbf6e83e095 (patch)
tree2cd2b7adb894d80aec74dede0fabbe67b8aec34c /libavformat
parent2d47c3de988c3448bc8ed1799dd3df5cdd16549f (diff)
cosmetics: make all references to AC-3 capitalized and hyphenated
Originally committed as revision 14523 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mpegenc.c6
-rw-r--r--libavformat/rmenc.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index 1606edcc19..a67eeee80c 100644
--- a/libavformat/mpegenc.c
+++ b/libavformat/mpegenc.c
@@ -234,7 +234,7 @@ static int put_system_header(AVFormatContext *ctx, uint8_t *buf,int only_for_str
id = stream->id;
if (id < 0xc0) {
- /* special case for private streams (AC3 use that) */
+ /* special case for private streams (AC-3 uses that) */
if (private_stream_coded)
continue;
private_stream_coded = 1;
@@ -581,7 +581,7 @@ static int get_packet_payload_size(AVFormatContext *ctx, int stream_index,
}
if (stream->id < 0xc0) {
- /* AC3/LPCM private data header */
+ /* AC-3/LPCM private data header */
buf_index += 4;
if (stream->id >= 0xa0) {
int n;
@@ -906,7 +906,7 @@ static int flush_packet(AVFormatContext *ctx, int stream_index,
put_byte(ctx->pb, stream->lpcm_header[1]);
put_byte(ctx->pb, stream->lpcm_header[2]);
} else if (id >= 0x40) {
- /* AC3 */
+ /* AC-3 */
put_byte(ctx->pb, nb_frames);
put_be16(ctx->pb, trailer_size+1);
}
diff --git a/libavformat/rmenc.c b/libavformat/rmenc.c
index 03f629e7be..0e61f02bd1 100644
--- a/libavformat/rmenc.c
+++ b/libavformat/rmenc.c
@@ -185,7 +185,7 @@ static void rv10_write_header(AVFormatContext *ctx,
case 8000:
fscode = 3;
}
- put_be16(s, fscode); /* codec additional info, for AC3, seems
+ put_be16(s, fscode); /* codec additional info, for AC-3, seems
to be a frequency code */
/* special hack to compensate rounding errors... */
if (coded_frame_size == 557)
@@ -325,7 +325,7 @@ static int rm_write_audio(AVFormatContext *s, const uint8_t *buf, int size, int
write_packet_header(s, stream, size, !!(flags & PKT_FLAG_KEY));
- /* for AC3, the words seems to be reversed */
+ /* for AC-3, the words seem to be reversed */
for(i=0;i<size;i+=2) {
buf1[i] = buf[i+1];
buf1[i+1] = buf[i];