[vlc-devel] [PATCH 2/4] misc: image: designated init for decoder_owner_callbacks

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


---
 src/misc/image.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/misc/image.c b/src/misc/image.c
index a1c5b1c346..beca4e190c 100644
--- a/src/misc/image.c
+++ b/src/misc/image.c
@@ -689,9 +689,9 @@ static decoder_t *CreateDecoder( image_handler_t *p_image, const video_format_t
     static const struct decoder_owner_callbacks dec_cbs =
     {
         .video = {
-            video_update_format,
-            video_new_buffer,
-            ImageQueueVideo,
+            .format_update = video_update_format,
+            .buffer_new = video_new_buffer,
+            .queue = ImageQueueVideo,
         },
     };
     p_dec->cbs = &dec_cbs;
-- 
2.18.0


More information about the vlc-devel mailing list