changeset 3819:1df0cc74fd23 libavformat

change [0] to *
author bcoudurier
date Sun, 31 Aug 2008 00:25:19 +0000
parents ae0d01b63679
children 4d37219dda5f
files mxfenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxfenc.c	Sun Aug 31 00:23:38 2008 +0000
+++ b/mxfenc.c	Sun Aug 31 00:25:19 2008 +0000
@@ -190,7 +190,7 @@
 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;