1
0
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:
Mark Thompson
2017-11-09 01:04:34 +00:00
parent 22aed77687
commit d5fcf94261

View File

@@ -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;
} }