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/movsub_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/movsub_bsf.c')
-rw-r--r-- | libavcodec/movsub_bsf.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libavcodec/movsub_bsf.c b/libavcodec/movsub_bsf.c index a745190d36..123c7a547d 100644 --- a/libavcodec/movsub_bsf.c +++ b/libavcodec/movsub_bsf.c @@ -35,9 +35,8 @@ static int text2movsub(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, co } AVBitStreamFilter ff_text2movsub_bsf={ - "text2movsub", - 0, - text2movsub, + .name = "text2movsub", + .filter = text2movsub, }; static int mov2textsub(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, @@ -51,7 +50,6 @@ static int mov2textsub(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, co } AVBitStreamFilter ff_mov2textsub_bsf={ - "mov2textsub", - 0, - mov2textsub, + .name = "mov2textsub", + .filter = mov2textsub, }; |