[vlc-commits] decoder: remove unused ModuleThread_UpdateStatSpu()

Steve Lhomme git at videolan.org
Thu Sep 12 15:57:11 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Sep  6 12:04:22 2019 +0200| [dc55936b9589d7134c1123952b23cccf775316b3] | committer: Steve Lhomme

decoder: remove unused ModuleThread_UpdateStatSpu()

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

 src/input/decoder.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index aa2443fc43..d50e5df8ff 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -1252,12 +1252,6 @@ static void ModuleThread_PlaySpu( struct decoder_owner *p_owner, subpicture_t *p
     vout_PutSubpicture( p_vout, p_subpic );
 }
 
-static void ModuleThread_UpdateStatSpu( struct decoder_owner *p_owner,
-                                  unsigned decoded, unsigned lost )
-{
-    (void) p_owner; (void) decoded; (void) lost;
-}
-
 static void ModuleThread_QueueSpu( decoder_t *p_dec, subpicture_t *p_spu )
 {
     assert( p_spu );
@@ -1860,7 +1854,6 @@ static struct decoder_owner * CreateDecoder( vlc_object_t *p_parent,
             break;
         case SPU_ES:
             p_dec->cbs = &dec_spu_cbs;
-            p_owner->pf_update_stat = ModuleThread_UpdateStatSpu;
             break;
         default:
             msg_Err( p_dec, "unknown ES format" );



More information about the vlc-commits mailing list