[vlc-devel] [PATCH 09/18] image: remove empty update_format callback

Steve Lhomme robux4 at ycbcr.xyz
Mon Oct 28 13:41:26 CET 2019


---
 src/misc/image.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/misc/image.c b/src/misc/image.c
index fe378177af6..c94ca6a04cc 100644
--- a/src/misc/image.c
+++ b/src/misc/image.c
@@ -656,13 +656,6 @@ vlc_fourcc_t image_Mime2Fourcc( const char *psz_mime )
     return 0;
 }
 
-static int video_update_format( decoder_t *p_dec, vlc_video_context *vctx_out )
-{
-    VLC_UNUSED(vctx_out);
-    VLC_UNUSED(p_dec);
-    return 0;
-}
-
 static decoder_t *CreateDecoder( image_handler_t *p_image, const es_format_t *fmt )
 {
     decoder_t *p_dec;
@@ -679,7 +672,6 @@ static decoder_t *CreateDecoder( image_handler_t *p_image, const es_format_t *fm
     static const struct decoder_owner_callbacks dec_cbs =
     {
         .video = {
-            .format_update = video_update_format,
             .queue = ImageQueueVideo,
         },
     };
-- 
2.17.1



More information about the vlc-devel mailing list