Commit d07d7e3e authored by bcoudurier's avatar bcoudurier

change [0] to *

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15073 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a567aa00
...@@ -190,7 +190,7 @@ static int klv_encode_ber_length(ByteIOContext *pb, uint64_t len) ...@@ -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) static const UID *mxf_get_essence_container_ul(enum CodecID type, int *index)
{ {
const MXFCodecUL *uls = ff_mxf_essence_container_uls; 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) if (ff_mxf_essence_container_uls[*index].id == type)
return &uls->uid; return &uls->uid;
*index = -1; *index = -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment