diff wav.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 2a85c82b8538
children 5d72afc6c8aa
line wrap: on
line diff
--- a/wav.c	Sun Jan 21 02:12:34 2007 +0000
+++ b/wav.c	Sun Jan 21 12:08:31 2007 +0000
@@ -235,7 +235,7 @@
     wav_read_packet,
     wav_read_close,
     wav_read_seek,
-    .codec_tag= {codec_wav_tags},
+    .codec_tag= (const AVCodecTag*[]){codec_wav_tags, 0},
 };
 #endif
 #ifdef CONFIG_WAV_MUXER
@@ -250,6 +250,6 @@
     wav_write_header,
     wav_write_packet,
     wav_write_trailer,
-    .codec_tag= {codec_wav_tags},
+    .codec_tag= (const AVCodecTag*[]){codec_wav_tags, 0},
 };
 #endif