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

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Feb 12 09:10:10 UTC 2025



Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
120f41a5 by Steve Lhomme at 2025-02-12T08:38:09+00:00
picture_pool: fully initialize the test video format

video_format_Setup() doesn't intialize all the fields.

(cherry picked from commit 20ba271df1def00217592499c55551fe87d87d43)

- - - - -


1 changed file:

- src/test/picture_pool.c


Changes:

=====================================
src/test/picture_pool.c
=====================================
@@ -108,6 +108,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/120f41a5741fc502b1a73d835093212cccbcb87d

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