[FFmpeg-cvslog] avcodec/noise_bsf: set correct size of .priv_data_size field

Paul B Mahol git at videolan.org
Sun May 1 22:25:43 CEST 2016


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun May  1 22:23:48 2016 +0200| [bc2fe362284257b96519a2fcbe5383fb6dad366b] | committer: Paul B Mahol

avcodec/noise_bsf: set correct size of .priv_data_size field

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bc2fe362284257b96519a2fcbe5383fb6dad366b
---

 libavcodec/noise_bsf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/noise_bsf.c b/libavcodec/noise_bsf.c
index 9b4f4e4..0aebee1 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,
 };



More information about the ffmpeg-cvslog mailing list