summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-03-06 23:39:00 +0000
committerMark Thompson <sw@jkqxz.net>2018-03-06 23:44:07 +0000
commit56912555bc1921420f5271159b0c20034ab4209e (patch)
treef245d5f34c772d8a3007e5b76475adb46d5ff6b9 /libavcodec
parent2aa42fac77ac1d29d858327fc72c972672ff3729 (diff)
h264_metadata: Actually fail when sei_user_data option is invalid
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264_metadata_bsf.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}