1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

cosmetics

Originally committed as revision 11565 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2008-01-19 16:19:06 +00:00
parent 3a9c08be1b
commit 3f2d859b7e

View File

@ -917,14 +917,14 @@ static int mxf_read_local_tags(MXFContext *mxf, KLVPacket *klv, int (*read_child
{
ByteIOContext *pb = mxf->fc->pb;
MXFMetadataSet *ctx = ctx_size ? av_mallocz(ctx_size) : mxf;
uint64_t klv_end= url_ftell(pb) + klv->length;
uint64_t klv_end = url_ftell(pb) + klv->length;
if (!ctx)
return -1;
while (url_ftell(pb) + 4 < klv_end) {
int tag = get_be16(pb);
int size = get_be16(pb); /* KLV specified by 0x53 */
uint64_t next= url_ftell(pb) + size;
uint64_t next = url_ftell(pb) + size;
UID uid;
if (!size) { /* ignore empty tag, needed for some files with empty UMID tag */
@ -944,7 +944,7 @@ static int mxf_read_local_tags(MXFContext *mxf, KLVPacket *klv, int (*read_child
}
}
}
if(ctx_size && tag == 0x3C0A)
if (ctx_size && tag == 0x3C0A)
get_buffer(pb, ctx->uid, 16);
else
read_child(ctx, pb, tag, size, uid);