diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-10-18 19:34:53 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-10-18 20:05:11 +0100 |
commit | d792613badfe7e7ca3552533e691c5015991a98a (patch) | |
tree | 586b104b1cac2fc3b409a97a0470749f12cc7421 /libavcodec | |
parent | 624d4739dbfc950ee756e83ae187f97dc82d10c9 (diff) | |
download | ffmpeg-d792613badfe7e7ca3552533e691c5015991a98a.tar.gz |
h264_metadata: Fix clearing SEI payload in error case
Fixes CID 1419832, 1419835.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h264_metadata_bsf.c | 2 |
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; } |