[vlc-commits] misc: image: designated init for decoder_owner_callbacks

Filip Roséen git at videolan.org
Thu Jul 26 08:42:54 CEST 2018


vlc | branch: master | Filip Roséen <filip at atch.se> | Thu Jul 26 02:42:38 2018 +0200| [e5e6a791a2fed2aa694289237e4aee9fdd04a4f7] | committer: Thomas Guillem

misc: image: designated init for decoder_owner_callbacks

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e5e6a791a2fed2aa694289237e4aee9fdd04a4f7
---

 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;



More information about the vlc-commits mailing list