Ubuntu Pastebin

Paste from philipl at Mon, 27 Nov 2017 05:26:29 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/libavcodec/nvdec_vp8.c b/libavcodec/nvdec_vp8.c
index f29a66ac72..901bfc1abc 100644
--- a/libavcodec/nvdec_vp8.c
+++ b/libavcodec/nvdec_vp8.c
@@ -70,12 +70,11 @@ static int nvdec_vp8_start_frame(AVCodecContext *avctx, const uint8_t *buffer, u
              */
             {
                 {
-                    .frame_type                  = !h->keyframe,
-                    .version                     = h->profile,
-                    .show_frame                  = !h->invisible,
-                    .update_mb_segmentation_data = h->segmentation.enabled ?
-                                                   h->segmentation.update_feature_data :
-                                                   0,
+                    !h->keyframe,
+                    h->profile,
+                    !h->invisible,
+                    h->segmentation.enabled ?
+                        h->segmentation.update_feature_data : 0,
                 }
             }
        }
Download as text