summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-09-22 09:19:33 +0200
committerDiego Biurrun <diego@biurrun.de>2015-02-14 10:13:47 -0800
commitdaf8cf358a098a903d59adb6c0d0cc3262a8c93e (patch)
treea2390c7f51907470675321b25221c28ab6093616 /libavformat/mpegts.c
parent7769be590c7aeb2aad26ca723d105cf5203e33d2 (diff)
avformat: Don't anonymously typedef structs
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c4
1 files changed, 2 insertions, 2 deletions
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;