Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-03-07 02:39:00 +0300
committerMark Thompson <sw@jkqxz.net>2018-03-07 02:44:07 +0300
commit56912555bc1921420f5271159b0c20034ab4209e (patch)
treef245d5f34c772d8a3007e5b76475adb46d5ff6b9
parent2aa42fac77ac1d29d858327fc72c972672ff3729 (diff)
h264_metadata: Actually fail when sei_user_data option is invalid
-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;
}
}