changeset 3365:19bd4caf27a9 libavformat

consistency cosmetics: indices --> indexes
author diego
date Mon, 26 May 2008 23:14:25 +0000
parents 73da68338e64
children a14d34ce6828
files avidec.c ipmovie.c nsvdec.c rl2.c rmenc.c
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/avidec.c	Mon May 26 22:01:41 2008 +0000
+++ b/avidec.c	Mon May 26 23:14:25 2008 +0000
@@ -996,7 +996,7 @@
 
     if (ENABLE_DV_DEMUXER && avi->dv_demux) {
         /* One and only one real stream for DV in AVI, and it has video  */
-        /* offsets. Calling with other stream indices should have failed */
+        /* offsets. Calling with other stream indexes should have failed */
         /* the av_index_search_timestamp call above.                     */
         assert(stream_index == 0);
 
--- a/ipmovie.c	Mon May 26 22:01:41 2008 +0000
+++ b/ipmovie.c	Mon May 26 23:14:25 2008 +0000
@@ -446,7 +446,7 @@
             last_color = first_color + AV_RL16(&scratch[2]) - 1;
             /* sanity check (since they are 16 bit values) */
             if ((first_color > 0xFF) || (last_color > 0xFF)) {
-                debug_ipmovie("demux_ipmovie: set_palette indices out of range (%d -> %d)\n",
+                debug_ipmovie("demux_ipmovie: set_palette indexes out of range (%d -> %d)\n",
                     first_color, last_color);
                 chunk_type = CHUNK_BAD;
                 break;
--- a/nsvdec.c	Mon May 26 22:01:41 2008 +0000
+++ b/nsvdec.c	Mon May 26 23:14:25 2008 +0000
@@ -140,7 +140,7 @@
 #define TB_NSVF MKBETAG('N', 'S', 'V', 'f')
 #define TB_NSVS MKBETAG('N', 'S', 'V', 's')
 
-/* hardcoded stream indices */
+/* hardcoded stream indexes */
 #define NSV_ST_VIDEO 0
 #define NSV_ST_AUDIO 1
 #define NSV_ST_SUBT 2
--- a/rl2.c	Mon May 26 22:01:41 2008 +0000
+++ b/rl2.c	Mon May 26 23:14:25 2008 +0000
@@ -42,7 +42,7 @@
 #define RLV3_TAG MKBETAG('R', 'L', 'V', '3')
 
 typedef struct Rl2DemuxContext {
-    unsigned int index_pos[2];   ///< indices in the sample tables
+    unsigned int index_pos[2];   ///< indexes in the sample tables
 } Rl2DemuxContext;
 
 
--- a/rmenc.c	Mon May 26 22:01:41 2008 +0000
+++ b/rmenc.c	Mon May 26 23:14:25 2008 +0000
@@ -408,7 +408,7 @@
         put_be16(pb, 0);
 
         for(i=0;i<s->nb_streams;i++) {
-            put_be32(pb, 0); /* zero indices */
+            put_be32(pb, 0); /* zero indexes */
             put_be16(pb, i); /* stream number */
             put_be32(pb, 0); /* next index */
         }