From: Jaroslav Kysela Date: Mon, 9 Oct 2017 06:58:33 +0000 (+0200) Subject: transcode: do not pre-declare empty structs (it seems that older gcc does not like... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e61f580495adde3836c9e0c01b8f2d714071827;p=thirdparty%2Ftvheadend.git transcode: do not pre-declare empty structs (it seems that older gcc does not like them), fixes #4634 --- diff --git a/src/transcoding/codec.h b/src/transcoding/codec.h index 1568ce6f7..88e85b53b 100644 --- a/src/transcoding/codec.h +++ b/src/transcoding/codec.h @@ -36,14 +36,9 @@ #define tvh_ssc_t streaming_start_component_t #define tvh_sct_t streaming_component_type_t - -struct tvh_codec; typedef struct tvh_codec TVHCodec; - -struct tvh_codec_profile; typedef struct tvh_codec_profile TVHCodecProfile; - /* codec_profile_class ====================================================== */ typedef int (*codec_profile_setup_meth) (TVHCodecProfile *, tvh_ssc_t *); diff --git a/src/transcoding/transcode/internals.h b/src/transcoding/transcode/internals.h index d616d6071..65dd188ab 100644 --- a/src/transcoding/transcode/internals.h +++ b/src/transcoding/transcode/internals.h @@ -42,19 +42,10 @@ extern TVHCodecProfile *tvh_codec_profile_copy; -struct tvh_transcoder; typedef struct tvh_transcoder TVHTranscoder; - -struct tvh_stream; typedef struct tvh_stream TVHStream; - -struct tvh_context_type; typedef struct tvh_context_type TVHContextType; - -struct tvh_context; typedef struct tvh_context TVHContext; - -struct tvh_context_helper; typedef struct tvh_context_helper TVHContextHelper; // post phase _MUST_ be == phase + 1