Browse Source

check if read child returned error

Originally committed as revision 11570 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 17 years ago
parent
commit
6e3ea4461f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/mxf.c

+ 2
- 2
libavformat/mxf.c View File

@@ -939,8 +939,8 @@ static int mxf_read_local_tags(MXFContext *mxf, KLVPacket *klv, int (*read_child
}
if (ctx_size && tag == 0x3C0A)
get_buffer(pb, ctx->uid, 16);
else
read_child(ctx, pb, tag, size, uid);
else if (read_child(ctx, pb, tag, size, uid) < 0)
return -1;

url_fseek(pb, next, SEEK_SET);
}


Loading…
Cancel
Save