[vlc-commits] [Git][videolan/vlc][master] oggspots: check decoder_UpdateVideoFormat return
Tristan Matthews (@tmatth)
gitlab at videolan.org
Wed Sep 9 15:11:05 UTC 2026
Tristan Matthews pushed to branch master at VideoLAN / VLC
Commits:
fe13e7d9 by Tristan Matthews at 2026-09-09T15:01:52+00:00
oggspots: check decoder_UpdateVideoFormat return
Fixes CID 1374330
- - - - -
1 changed file:
- modules/codec/oggspots.c
Changes:
=====================================
modules/codec/oggspots.c
=====================================
@@ -388,7 +388,11 @@ static picture_t* DecodePacket(decoder_t* p_dec, block_t* p_block)
p_pic->b_force = true;
p_dec->fmt_out.i_codec = p_dec->fmt_out.video.i_chroma;
- decoder_UpdateVideoFormat(p_dec);
+ if (decoder_UpdateVideoFormat(p_dec) != 0) {
+ msg_Dbg(p_dec, "Failed to update decoder format");
+ picture_Release(p_pic);
+ return NULL;
+ }
return p_pic;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/fe13e7d90a8d30c33e5f7305bcf4ee7d4eb8154a
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/fe13e7d90a8d30c33e5f7305bcf4ee7d4eb8154a
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list