[vlc-commits] [Git][videolan/vlc][master] transcode: encoder: fix crash double free issue while using lavc encoder

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Nov 28 15:36:07 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
dd67d6e6 by Evgeny Pavlov at 2022-11-28T15:17:07+00:00
transcode: encoder: fix crash double free issue while using lavc encoder

- - - - -


1 changed file:

- modules/stream_out/transcode/encoder/video.c


Changes:

=====================================
modules/stream_out/transcode/encoder/video.c
=====================================
@@ -387,8 +387,6 @@ void transcode_encoder_video_close( transcode_encoder_t *p_enc )
     }
 
     /* Close encoder */
-    if (p_enc->p_encoder->ops->close)
-        p_enc->p_encoder->ops->close(p_enc->p_encoder);
     module_unneed( p_enc->p_encoder, p_enc->p_encoder->p_module );
     p_enc->p_encoder->p_module = NULL;
 }



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/dd67d6e6552b47df57dc88759ac0f6051189f046
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