Skip to content
Snippets Groups Projects
Commit d5fcf942 authored by Mark Thompson's avatar Mark Thompson
Browse files

h264_metadata: Fix clearing SEI payload in error case

parent 22aed776
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment