[FFmpeg-cvslog] h264_metadata: Actually fail when sei_user_data option is invalid
Mark Thompson
git at videolan.org
Wed Mar 7 01:46:53 EET 2018
ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Tue Mar 6 23:39:00 2018 +0000| [56912555bc1921420f5271159b0c20034ab4209e] | committer: Mark Thompson
h264_metadata: Actually fail when sei_user_data option is invalid
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=56912555bc1921420f5271159b0c20034ab4209e
---
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;
}
}
More information about the ffmpeg-cvslog
mailing list