[vlc-commits] image: remove empty update_format callback

Steve Lhomme git at videolan.org
Mon Nov 4 10:41:56 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Oct 28 11:30:58 2019 +0100| [5b3f623191a8dadf71fa698b42b7d9c83751c349] | committer: Steve Lhomme

image: remove empty update_format callback

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

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

diff --git a/src/misc/image.c b/src/misc/image.c
index fe378177af..c94ca6a04c 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,
         },
     };



More information about the vlc-commits mailing list