[vlc-commits] [Git][videolan/vlc][master] avsb: replace release with assert

Steve Lhomme (@robUx4) gitlab at videolan.org
Sun Oct 6 08:17:58 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
103dc02a by Thomas Guillem at 2024-10-06T08:01:50+00:00
avsb: replace release with assert

The block chain should be released and NULL here.

- - - - -


1 changed file:

- modules/audio_output/apple/avsamplebuffer.m


Changes:

=====================================
modules/audio_output/apple/avsamplebuffer.m
=====================================
@@ -129,7 +129,7 @@ API_AVAILABLE(macos(MIN_MACOS), ios(MIN_IOS), tvos(MIN_TVOS) VISIONOS_API_AVAILA
 
 - (void)dealloc
 {
-    block_ChainRelease(_outChain);
+    assert(_outChain == NULL);
 }
 
 static void



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

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