[vlc-commits] [Git][videolan/vlc][master] input: decoder: remove unused variable

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Nov 23 14:04:32 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
5e7d2af4 by Alexandre Janniaux at 2022-11-23T13:41:25+00:00
input: decoder: remove unused variable

Added in 08b24866dc443c30df8f9d5ee4f7e2045bf62956 to access the owner
fmt_in, but the fmt_in was also added as a parameter, so it's now unused.

- - - - -


1 changed file:

- src/input/decoder.c


Changes:

=====================================
src/input/decoder.c
=====================================
@@ -268,7 +268,6 @@ static inline bool vlc_input_decoder_IsSynchronous( const vlc_input_decoder_t *d
 static int LoadDecoder( decoder_t *p_dec, bool b_packetizer, es_format_t *fmt_in,
                         const es_format_t *restrict p_fmt )
 {
-    vlc_input_decoder_t *owner = dec_get_owner( p_dec );
     decoder_Init( p_dec, fmt_in, p_fmt );
 
     p_dec->b_frame_drop_allowed = true;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5e7d2af4277a508f856d8b65f3a60765e35a4313

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5e7d2af4277a508f856d8b65f3a60765e35a4313
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list