aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/wtv.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/wtv.c
parent7769be590c7aeb2aad26ca723d105cf5203e33d2 (diff)
downloadffmpeg-daf8cf358a098a903d59adb6c0d0cc3262a8c93e.tar.gz
avformat: Don't anonymously typedef structs
Diffstat (limited to 'libavformat/wtv.c')
-rw-r--r--libavformat/wtv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/wtv.c b/libavformat/wtv.c
index 5080d299ed..7fe737ed53 100644
--- a/libavformat/wtv.c
+++ b/libavformat/wtv.c
@@ -57,7 +57,7 @@
#define SHIFT_SECTOR_BITS(a) ((int64_t)(a) << WTV_SECTOR_BITS)
-typedef struct {
+typedef struct WtvFile {
AVIOContext *pb_filesystem; /** file system (AVFormatContext->pb) */
int sector_bits; /** sector shift bits; used to convert sector number into pb_filesystem offset */
@@ -324,11 +324,11 @@ static void wtvfile_close(AVIOContext *pb)
*
*/
-typedef struct {
+typedef struct WtvStream {
int seen_data;
} WtvStream;
-typedef struct {
+typedef struct WtvContext {
AVIOContext *pb; /** timeline file */
int64_t epoch;
int64_t pts; /** pts for next data chunk */