diff options
Diffstat (limited to 'libavformat/mxf.c')
-rw-r--r-- | libavformat/mxf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mxf.c b/libavformat/mxf.c index 42393ec768..39628d54e5 100644 --- a/libavformat/mxf.c +++ b/libavformat/mxf.c @@ -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); } |