[FFmpeg-cvslog] r15073 - trunk/libavformat/mxfenc.c

bcoudurier subversion
Sun Aug 31 02:25:19 CEST 2008


Author: bcoudurier
Date: Sun Aug 31 02:25:19 2008
New Revision: 15073

Log:
change [0] to *

Modified:
   trunk/libavformat/mxfenc.c

Modified: trunk/libavformat/mxfenc.c
==============================================================================
--- trunk/libavformat/mxfenc.c	(original)
+++ trunk/libavformat/mxfenc.c	Sun Aug 31 02:25:19 2008
@@ -190,7 +190,7 @@ static int klv_encode_ber_length(ByteIOC
 static const UID *mxf_get_essence_container_ul(enum CodecID type, int *index)
 {
     const MXFCodecUL *uls = ff_mxf_essence_container_uls;
-    for (*index = 0; *index < sizeof(ff_mxf_essence_container_uls)/sizeof(ff_mxf_essence_container_uls[0]); (*index)++)
+    for (*index = 0; *index < sizeof(ff_mxf_essence_container_uls)/sizeof(*ff_mxf_essence_container_uls); (*index)++)
         if (ff_mxf_essence_container_uls[*index].id == type)
             return &uls->uid;
     *index = -1;




More information about the ffmpeg-cvslog mailing list