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

bcoudurier subversion
Sun Aug 31 04:55:13 CEST 2008


Author: bcoudurier
Date: Sun Aug 31 04:55:13 2008
New Revision: 15098

Log:
10l fix mxf_get_essence_container_ul

Modified:
   trunk/libavformat/mxfenc.c

Modified: trunk/libavformat/mxfenc.c
==============================================================================
--- trunk/libavformat/mxfenc.c	(original)
+++ trunk/libavformat/mxfenc.c	Sun Aug 31 04:55:13 2008
@@ -204,11 +204,10 @@ static int klv_encode_ber_length(ByteIOC
  */
 static const UID *mxf_get_essence_container_ul(enum CodecID type, int *index)
 {
-    const MXFContainerEssencePair *uls = mxf_essence_container_uls;
     for (*index = 0; *index < sizeof(mxf_essence_container_uls)/
                               sizeof(*mxf_essence_container_uls); (*index)++)
         if (mxf_essence_container_uls[*index].id == type)
-            return &uls->container_ul;
+            return &mxf_essence_container_uls[*index].container_ul;
     *index = -1;
     return NULL;
 }




More information about the ffmpeg-cvslog mailing list