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
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to