27 Aug
2022
27 Aug
'22
8:33 a.m.
Author: reimar Date: Sat Aug 27 11:33:54 2022 New Revision: 38392 Log: mplayer.c: Fix crash introduced in r38380. When we fail to read video properties we need to ensure sh_video is set to NULL so we do not try to play video. Modified: trunk/mplayer.c Modified: trunk/mplayer.c ============================================================================== --- trunk/mplayer.c Sat Aug 27 11:07:11 2022 (r38391) +++ trunk/mplayer.c Sat Aug 27 11:33:54 2022 (r38392) @@ -2436,6 +2436,9 @@ int reinit_video_chain(void) err_out: uninit_player(INITIALIZED_VCODEC); + // ensure we do not try to play video even if we + // failed before vfilter creation. + mpctx->sh_video = NULL; return 0; }
1545
Age (days ago)
1545
Last active (days ago)
0 comments
1 participants
participants (1)
-
reimar