diff --git a/libavcodec/noise_bsf.c b/libavcodec/noise_bsf.c index 9b4f4e4961..0aebee1ad6 100644 --- a/libavcodec/noise_bsf.c +++ b/libavcodec/noise_bsf.c @@ -85,7 +85,7 @@ static const AVClass noise_class = { const AVBitStreamFilter ff_noise_bsf = { .name = "noise", - .priv_data_size = sizeof(int), + .priv_data_size = sizeof(NoiseContext), .priv_class = &noise_class, .filter = noise, };