From 46f4dbe57bed71bd542828cd69821182e902a5dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Mon, 11 Nov 2024 18:24:37 +0100 Subject: [PATCH] codecparser: remove unused headers Mainly but also in jpegparse Part-of: --- .../gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c | 1 - .../gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c | 1 - .../gst-plugins-bad/gst-libs/gst/codecparsers/gstjpegparser.c | 4 +--- .../gst-plugins-bad/gst-libs/gst/codecparsers/nalutils.c | 2 -- .../gst-plugins-bad/gst-libs/gst/codecparsers/nalutils.h | 1 - 5 files changed, 1 insertion(+), 8 deletions(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c index c379061a14..82ba8185f3 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c @@ -78,7 +78,6 @@ #include #include -#include #ifndef GST_DISABLE_GST_DEBUG #define GST_CAT_DEFAULT gst_h264_debug_category_get() diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c index 751b5638ac..e433a1cdb5 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c @@ -69,7 +69,6 @@ #include #include -#include #ifndef GST_DISABLE_GST_DEBUG #define GST_CAT_DEFAULT gst_h265_debug_category_get() diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstjpegparser.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstjpegparser.c index 64110763f2..0cb5d0b739 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstjpegparser.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gstjpegparser.c @@ -30,10 +30,8 @@ #include "config.h" #endif -#include -#include -#include #include "gstjpegparser.h" +#include #ifndef GST_DISABLE_GST_DEBUG diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/nalutils.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/nalutils.c index f8a91de11f..014e820486 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/nalutils.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/nalutils.c @@ -36,8 +36,6 @@ #endif #include "nalutils.h" -#include - /****** Nal parser ******/ diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/nalutils.h b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/nalutils.h index f587fe0966..9c169cb7b6 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/nalutils.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/nalutils.h @@ -38,7 +38,6 @@ #include #include #include -#include typedef struct {