mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
change [0] to *
Originally committed as revision 15073 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c18d208ae2
commit
2cd71ce52f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user