From 2490996f38e02da28397631b11c6b3db8ba25934 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 2 Oct 2013 17:20:29 +0000 Subject: avcodec: use designated initializers for bitstream filters Signed-off-by: Paul B Mahol --- libavcodec/noise_bsf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavcodec/noise_bsf.c') diff --git a/libavcodec/noise_bsf.c b/libavcodec/noise_bsf.c index c91e85bc83..4f609de7bf 100644 --- a/libavcodec/noise_bsf.c +++ b/libavcodec/noise_bsf.c @@ -49,7 +49,7 @@ static int noise(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const ch } AVBitStreamFilter ff_noise_bsf={ - "noise", - sizeof(int), - noise, + .name = "noise", + .priv_data_size = sizeof(int), + .filter = noise, }; -- cgit v1.2.3