aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/chomp_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/chomp_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/chomp_bsf.c')
-rw-r--r--libavcodec/chomp_bsf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/chomp_bsf.c b/libavcodec/chomp_bsf.c
index eaefaaa539..2b93fa999e 100644
--- a/libavcodec/chomp_bsf.c
+++ b/libavcodec/chomp_bsf.c
@@ -41,7 +41,6 @@ static int chomp_filter(AVBitStreamFilterContext *bsfc,
* This filter removes a string of NULL bytes from the end of a packet.
*/
AVBitStreamFilter ff_chomp_bsf = {
- "chomp",
- 0,
- chomp_filter,
+ .name = "chomp",
+ .filter = chomp_filter,
};