Commit d5fcf942 authored by Mark Thompson's avatar Mark Thompson

h264_metadata: Fix clearing SEI payload in error case

parent 22aed776
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment