[vlc-commits] [Git][videolan/vlc][master] picture_pool: fully initialize the test video format

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Feb 10 06:45:34 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
20ba271d by Steve Lhomme at 2025-02-10T06:30:07+00:00
picture_pool: fully initialize the test video format

video_format_Setup() doesn't intialize all the fields.

- - - - -


1 changed file:

- src/test/picture_pool.c


Changes:

=====================================
src/test/picture_pool.c
=====================================
@@ -89,6 +89,7 @@ static void test(bool zombie)
 
 int main(void)
 {
+    video_format_Init(&fmt, VLC_CODEC_I420);
     video_format_Setup(&fmt, VLC_CODEC_I420, 320, 200, 320, 200, 1, 1);
 
     pool = picture_pool_NewFromFormat(&fmt, PICTURES);



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

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