[vlc-devel] [PATCH 0/4] Use designated initializers for decoder_owner_callbacks

Filip Roséen filip at atch.se
Thu Jul 26 02:42:36 CEST 2018


This should increase readability as well as maintainability, most
notably where callbacks are defined for the union bound video struct as
it contains many members (and keeping track of the order while
reading/writing code can be quite draining).

Filip Roséen (4):
  input: decoder: designated init for decoder_owner_callbacks
  misc: image: designated init for decoder_owner_callbacks
  sout: mosaic_bridge: designated init for decoder_owner_callbacks
  sout: transcode: designated init in decoder_owner_callbacks

 modules/stream_out/mosaic_bridge.c   |  6 +++---
 modules/stream_out/transcode/audio.c |  4 ++--
 modules/stream_out/transcode/spu.c   |  4 ++--
 modules/stream_out/transcode/video.c |  6 +++---
 src/input/decoder.c                  | 26 +++++++++++++-------------
 src/misc/image.c                     |  6 +++---
 6 files changed, 26 insertions(+), 26 deletions(-)

-- 
2.18.0


More information about the vlc-devel mailing list