Commit 2909e998 authored by bcoudurier's avatar bcoudurier

check if read child returned error

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11570 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e09bf9dd
...@@ -939,8 +939,8 @@ static int mxf_read_local_tags(MXFContext *mxf, KLVPacket *klv, int (*read_child ...@@ -939,8 +939,8 @@ 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); get_buffer(pb, ctx->uid, 16);
else else if (read_child(ctx, pb, tag, size, uid) < 0)
read_child(ctx, pb, tag, size, uid); return -1;
url_fseek(pb, next, SEEK_SET); url_fseek(pb, next, SEEK_SET);
} }
......
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