From 2cd71ce52f84dfe8be9df797c76c7ea28584384b Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Sun, 31 Aug 2008 00:25:19 +0000 Subject: [PATCH] change [0] to * Originally committed as revision 15073 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mxfenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index cb7a162..15e18c9 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -190,7 +190,7 @@ static int klv_encode_ber_length(ByteIOContext *pb, uint64_t len) 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; -- 2.7.4