mpegtsmux: Remove unused data in TsMuxSection
authorJesper Larsen <jesper.larsen@ixonos.com>
Wed, 20 Nov 2013 11:16:17 +0000 (12:16 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 6 May 2014 12:10:06 +0000 (14:10 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=721685

gst/mpegtsmux/tsmux/tsmux.h

index 93eba33..2368378 100644 (file)
@@ -90,7 +90,6 @@
 G_BEGIN_DECLS
 
 #define TSMUX_MAX_ES_INFO_LENGTH ((1 << 12) - 1)
-#define TSMUX_MAX_SECTION_LENGTH (4096)
 
 #define TSMUX_PID_AUTO ((guint16)-1)
 
@@ -107,9 +106,6 @@ typedef void (*TsMuxAllocFunc) (GstBuffer ** buf, void *user_data);
 struct TsMuxSection {
   TsMuxPacketInfo pi;
   GstMpegTsSection *section;
-
-  /* Private sections can be up to 4096 bytes */
-  guint8 data[TSMUX_MAX_SECTION_LENGTH];
 };
 
 /* Information for the streams associated with one program */