diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-09-22 09:19:33 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2015-02-14 10:13:47 -0800 |
commit | daf8cf358a098a903d59adb6c0d0cc3262a8c93e (patch) | |
tree | a2390c7f51907470675321b25221c28ab6093616 /libavformat/rmenc.c | |
parent | 7769be590c7aeb2aad26ca723d105cf5203e33d2 (diff) | |
download | ffmpeg-daf8cf358a098a903d59adb6c0d0cc3262a8c93e.tar.gz |
avformat: Don't anonymously typedef structs
Diffstat (limited to 'libavformat/rmenc.c')
-rw-r--r-- | libavformat/rmenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rmenc.c b/libavformat/rmenc.c index 9ff9f318a5..6d8fa43467 100644 --- a/libavformat/rmenc.c +++ b/libavformat/rmenc.c @@ -23,7 +23,7 @@ #include "rm.h" #include "libavutil/dict.h" -typedef struct { +typedef struct StreamInfo { int nb_packets; int packet_total_size; int packet_max_size; @@ -36,7 +36,7 @@ typedef struct { AVCodecContext *enc; } StreamInfo; -typedef struct { +typedef struct RMMuxContext { StreamInfo streams[2]; StreamInfo *audio_stream, *video_stream; int data_pos; /* position of the data after the header */ |