From daf8cf358a098a903d59adb6c0d0cc3262a8c93e Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 22 Sep 2014 09:19:33 +0200 Subject: avformat: Don't anonymously typedef structs --- libavformat/mpegts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/mpegts.c') diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 2f1d9d91ef..39eb74a766 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -565,7 +565,7 @@ static int parse_section_header(SectionHeader *h, return 0; } -typedef struct { +typedef struct StreamType { uint32_t stream_type; enum AVMediaType codec_type; enum AVCodecID codec_id; @@ -1026,7 +1026,7 @@ static PESContext *add_pes_stream(MpegTSContext *ts, int pid, int pcr_pid) } #define MAX_LEVEL 4 -typedef struct { +typedef struct MP4DescrParseContext { AVFormatContext *s; AVIOContext pb; Mp4Descr *descr; -- cgit v1.2.3