You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
h264_metadata: Fix clearing SEI payload in error case
This commit is contained in:
@@ -368,7 +368,7 @@ static int h264_metadata_filter(AVBSFContext *bsf, AVPacket *out)
|
|||||||
"must be \"UUID+string\".\n");
|
"must be \"UUID+string\".\n");
|
||||||
err = AVERROR(EINVAL);
|
err = AVERROR(EINVAL);
|
||||||
sei_fail:
|
sei_fail:
|
||||||
memset(payload, 0, sizeof(&payload));
|
memset(payload, 0, sizeof(*payload));
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user