Skip to content

Commit 5fcab2d

Browse files
heitbaumXinfengZhang
authored andcommitted
Fixed build with -std=c++20
upcoming gcc-16 will change the default to c++20 fixes: ../decode/mpeg2vldemo.cpp:82:5: error: either all initializer clauses should be designated or none of them should be 82 | { | ^ Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
1 parent b4abf4e commit 5fcab2d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

decode/mpeg2vldemo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ static VAPictureParameterBufferMPEG2 pic_param = {
7979
.backward_reference_picture = 0xffffffff,
8080
.picture_coding_type = 1,
8181
.f_code = 0xffff,
82-
{
83-
{
82+
.picture_coding_extension = {
83+
.bits = {
8484
.intra_dc_precision = 0,
8585
.picture_structure = 3,
8686
.top_field_first = 0,

0 commit comments

Comments
 (0)