diff au.c @ 1679:ba58d49d4685 libavformat

get rid of the [4] limitation of codec tag lists
author michael
date Sun, 21 Jan 2007 12:08:31 +0000
parents 71078c1009c4
children 8b062c65fe0d
line wrap: on
line diff
--- a/au.c	Sun Jan 21 02:12:34 2007 +0000
+++ b/au.c	Sun Jan 21 12:08:31 2007 +0000
@@ -190,7 +190,7 @@
     au_read_packet,
     au_read_close,
     pcm_read_seek,
-    .codec_tag= {codec_au_tags},
+    .codec_tag= (const AVCodecTag*[]){codec_au_tags, 0},
 };
 #endif
 
@@ -206,6 +206,6 @@
     au_write_header,
     au_write_packet,
     au_write_trailer,
-    .codec_tag= {codec_au_tags},
+    .codec_tag= (const AVCodecTag*[]){codec_au_tags, 0},
 };
 #endif //CONFIG_AU_MUXER