From 1781b26ad29c4701427334e095a5e4cbf70efe63 Mon Sep 17 00:00:00 2001 From: Vivia Nikolaidou Date: Mon, 22 May 2023 13:51:47 +0300 Subject: [PATCH] tsmux.h: Remove TSMUX_MAX_ES_INFO_LENGTH dead code Also TsMux.es_info_buf which was also not used anywhere Part-of: --- subprojects/gst-plugins-bad/gst/mpegtsmux/tsmux/tsmux.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/subprojects/gst-plugins-bad/gst/mpegtsmux/tsmux/tsmux.h b/subprojects/gst-plugins-bad/gst/mpegtsmux/tsmux/tsmux.h index b482678390..765f78f3d8 100644 --- a/subprojects/gst-plugins-bad/gst/mpegtsmux/tsmux/tsmux.h +++ b/subprojects/gst-plugins-bad/gst/mpegtsmux/tsmux/tsmux.h @@ -73,8 +73,6 @@ G_BEGIN_DECLS -#define TSMUX_MAX_ES_INFO_LENGTH ((1 << 12) - 1) - #define TSMUX_PID_AUTO ((guint16)-1) #define TSMUX_START_PROGRAM_ID 0x0001 @@ -179,9 +177,6 @@ struct TsMux { TsMuxNewStreamFunc new_stream_func; void *new_stream_data; - /* scratch space for writing ES_info descriptors */ - guint8 es_info_buf[TSMUX_MAX_ES_INFO_LENGTH]; - guint64 bitrate; guint64 n_bytes;