[vlc-commits] [Git][videolan/vlc][master] misc/stats: ensure p_pic is non-NULL before calling decoder_QueueVideo()
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Dec 5 07:49:20 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
f93a8c5f by Sean McGovern at 2025-12-05T07:14:46+00:00
misc/stats: ensure p_pic is non-NULL before calling decoder_QueueVideo()
- - - - -
1 changed file:
- modules/misc/stats.c
Changes:
=====================================
modules/misc/stats.c
=====================================
@@ -73,7 +73,8 @@ static int DecodeBlock( decoder_t *p_dec, block_t *p_block )
error:
block_Release( p_block );
- decoder_QueueVideo( p_dec, p_pic );
+ if ( p_pic )
+ decoder_QueueVideo( p_dec, p_pic );
return VLCDEC_SUCCESS;
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f93a8c5f341a346a93b5dfe4da38873475453352
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f93a8c5f341a346a93b5dfe4da38873475453352
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