From 56912555bc1921420f5271159b0c20034ab4209e Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Tue, 6 Mar 2018 23:39:00 +0000 Subject: [PATCH] h264_metadata: Actually fail when sei_user_data option is invalid --- libavcodec/h264_metadata_bsf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/h264_metadata_bsf.c b/libavcodec/h264_metadata_bsf.c index 89bdedfc69..466823cda6 100644 --- a/libavcodec/h264_metadata_bsf.c +++ b/libavcodec/h264_metadata_bsf.c @@ -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; } }