aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-05-01 22:23:48 +0200
committerPaul B Mahol <onemda@gmail.com>2016-05-01 22:23:48 +0200
commitbc2fe362284257b96519a2fcbe5383fb6dad366b (patch)
treec399cbfe9fe0d23fea52da9c75bd72205bec2eb8 /libavcodec
parent3187277ebb7f41621def2781e749ba709a509ef4 (diff)
downloadffmpeg-bc2fe362284257b96519a2fcbe5383fb6dad366b.tar.gz
avcodec/noise_bsf: set correct size of .priv_data_size field
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/noise_bsf.c2
1 files changed, 1 insertions, 1 deletions
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,
};