h264_metadata: Actually fail when sei_user_data option is invalid

This commit is contained in:
Mark Thompson 2018-03-06 23:39:00 +00:00
parent 2aa42fac77
commit 56912555bc
1 changed files with 1 additions and 0 deletions

View File

@ -345,6 +345,7 @@ static int h264_metadata_filter(AVBSFContext *bsf, AVPacket *out)
av_log(bsf, AV_LOG_ERROR, "Invalid user data: "
"must be \"UUID+string\".\n");
err = AVERROR(EINVAL);
goto fail;
}
}