avcodec/noise_bsf: set correct size of .priv_data_size field
authorPaul B Mahol <onemda@gmail.com>
Sun, 1 May 2016 20:23:48 +0000 (22:23 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sun, 1 May 2016 20:23:48 +0000 (22:23 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/noise_bsf.c

index 9b4f4e4..0aebee1 100644 (file)
@@ -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,
 };