codecparsers: jpeg: add some padding to ScanHdr struct
authorTim-Philipp Müller <tim@centricular.com>
Sun, 21 Jun 2015 16:13:07 +0000 (17:13 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 21 Jun 2015 16:13:07 +0000 (17:13 +0100)
For bits that we don't parse out at the moment.

gst-libs/gst/codecparsers/gstjpegparser.h

index 5ba5a35..98db436 100644 (file)
@@ -303,6 +303,12 @@ struct _GstJpegScanHdr
 {
   guint8 num_components;                /* 1 .. 4       */
   GstJpegScanComponent components[GST_JPEG_MAX_SCAN_COMPONENTS];
+
+  /*< private >*/
+  guint8 _reserved1; /* Ss */
+  guint8 _reserved2; /* Se */
+  guint8 _reserved3; /* Al */
+  guint8 _reserved4; /* Ah */
 };
 
 /**