changeset 3624:8b4be8aa2324 libavformat

cosmetics: make all references to AC-3 capitalized and hyphenated
author jbr
date Sun, 03 Aug 2008 16:42:32 +0000
parents e5b79592e187
children 022f5a9504db
files mpegenc.c rmenc.c
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mpegenc.c	Sun Aug 03 16:41:52 2008 +0000
+++ b/mpegenc.c	Sun Aug 03 16:42:32 2008 +0000
@@ -234,7 +234,7 @@
 
                 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 @@
         }
 
         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 @@
                 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);
             }
--- a/rmenc.c	Sun Aug 03 16:41:52 2008 +0000
+++ b/rmenc.c	Sun Aug 03 16:42:32 2008 +0000
@@ -185,7 +185,7 @@
             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 @@
 
     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];