diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-10-02 17:20:29 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-10-02 17:20:29 +0000 |
commit | 2490996f38e02da28397631b11c6b3db8ba25934 (patch) | |
tree | 21c9f4224e20d3d27c6bef3a0a498a7364f18415 /libavcodec/noise_bsf.c | |
parent | 5e253fdfc1a4e727628243580c1c3d589c1951f1 (diff) | |
download | ffmpeg-2490996f38e02da28397631b11c6b3db8ba25934.tar.gz |
avcodec: use designated initializers for bitstream filters
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/noise_bsf.c')
-rw-r--r-- | libavcodec/noise_bsf.c | 6 |
1 files changed, 3 insertions, 3 deletions
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, }; |