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>2017-10-18 21:34:53 +0300
committerMark Thompson <sw@jkqxz.net>2017-10-18 22:05:11 +0300
commitd792613badfe7e7ca3552533e691c5015991a98a (patch)
tree586b104b1cac2fc3b409a97a0470749f12cc7421 /libavcodec/h264_metadata_bsf.c
parent624d4739dbfc950ee756e83ae187f97dc82d10c9 (diff)
h264_metadata: Fix clearing SEI payload in error case
Fixes CID 1419832, 1419835.
Diffstat (limited to 'libavcodec/h264_metadata_bsf.c')
-rw-r--r--libavcodec/h264_metadata_bsf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_metadata_bsf.c b/libavcodec/h264_metadata_bsf.c
index 496f7f00fe..73e73e96e4 100644
--- a/libavcodec/h264_metadata_bsf.c
+++ b/libavcodec/h264_metadata_bsf.c
@@ -372,7 +372,7 @@ static int h264_metadata_filter(AVBSFContext *bsf, AVPacket *out)
"must be \"UUID+string\".\n");
err = AVERROR(EINVAL);
sei_fail:
- memset(payload, 0, sizeof(&payload));
+ memset(payload, 0, sizeof(*payload));
goto fail;
}