mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 09:52:17 +00:00
h264_metadata: Fix clearing SEI payload in error case
Fixes CID 1419832, 1419835.
This commit is contained in:
parent
624d4739db
commit
d792613bad
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user