]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
transcode: do not pre-declare empty structs (it seems that older gcc does not like...
authorJaroslav Kysela <perex@perex.cz>
Mon, 9 Oct 2017 06:58:33 +0000 (08:58 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 9 Oct 2017 06:58:33 +0000 (08:58 +0200)
src/transcoding/codec.h
src/transcoding/transcode/internals.h

index 1568ce6f74f7e55203babe7ba077a4f7f6eb12c2..88e85b53b79b4ba406ce3981123dbf116972c01d 100644 (file)
 #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 *);
index d616d6071c197a2fa6a3f647f262fd4e8695836c..65dd188ab8d621e92b1c0e5ef5e32b721b11de76 100644 (file)
 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