wtvenc: fix typo
authorPeter Ross <pross@xvid.org>
Tue, 6 Nov 2012 03:01:27 +0000 (14:01 +1100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 6 Nov 2012 14:50:36 +0000 (15:50 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/wtvenc.c

index 5bed51e..419dd57 100644 (file)
@@ -439,7 +439,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
     return 0;
 }
 
-static int write_table0_header_envents(AVIOContext *pb)
+static int write_table0_header_events(AVIOContext *pb)
 {
     avio_wl32(pb, 0x10);
     write_pad(pb, 84);
@@ -468,7 +468,7 @@ static int write_table0_header_time(AVIOContext *pb)
 }
 
 static const WTVRootEntryTable wtv_root_entry_table[] = {
-    { timeline_table_0_header_events,          sizeof(timeline_table_0_header_events),          write_table0_header_envents},
+    { timeline_table_0_header_events,          sizeof(timeline_table_0_header_events),          write_table0_header_events},
     { ff_timeline_table_0_entries_Events_le16, sizeof(ff_timeline_table_0_entries_Events_le16), NULL},
     { ff_timeline_le16,                        sizeof(ff_timeline_le16),                        NULL},
     { table_0_header_legacy_attrib,            sizeof(table_0_header_legacy_attrib),            write_table0_header_legacy_attrib},