summaryrefslogtreecommitdiff
path: root/libavcodec/noise_bsf.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-10-02 17:20:29 +0000
committerPaul B Mahol <onemda@gmail.com>2013-10-02 17:20:29 +0000
commit2490996f38e02da28397631b11c6b3db8ba25934 (patch)
tree21c9f4224e20d3d27c6bef3a0a498a7364f18415 /libavcodec/noise_bsf.c
parent5e253fdfc1a4e727628243580c1c3d589c1951f1 (diff)
downloadffmpeg-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.c6
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,
};