mirror of https://git.ffmpeg.org/ffmpeg.git
h264_metadata: Fix clearing SEI payload in error case
This commit is contained in:
parent
22aed77687
commit
d5fcf94261
|
@ -368,7 +368,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