X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fh264_metadata_bsf.c;h=73e73e96e48d62ea7d37c54cad6681958f4ad188;hb=4e9dc52a9703f84a0e996263018745afa1118aa0;hp=496f7f00fe85316158a1c3fda70e0c36d2fcab51;hpb=60aa56fdf0b112874a2c5bf9987c7937c3b2e72a;p=ffmpeg diff --git a/libavcodec/h264_metadata_bsf.c b/libavcodec/h264_metadata_bsf.c index 496f7f00fe8..73e73e96e48 100644 --- a/libavcodec/h264_metadata_bsf.c +++ b/libavcodec/h264_metadata_bsf.c @@ -372,7 +372,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; }