From edb6e506828cc0ebbbf3c45701479ddab17045be Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 21 Jan 2007 02:12:34 +0000 Subject: [PATCH] export a few more codec_tag-codec_id tables Originally committed as revision 7594 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/aiff.c | 2 ++ libavformat/au.c | 2 ++ libavformat/flvenc.c | 1 + libavformat/vocdec.c | 1 + libavformat/vocenc.c | 1 + 5 files changed, 7 insertions(+) diff --git a/libavformat/aiff.c b/libavformat/aiff.c index d05a366e61..6de82872c7 100644 --- a/libavformat/aiff.c +++ b/libavformat/aiff.c @@ -417,6 +417,7 @@ AVInputFormat aiff_demuxer = { aiff_read_packet, aiff_read_close, aiff_read_seek, + .codec_tag= {codec_aiff_tags}, }; #endif @@ -432,5 +433,6 @@ AVOutputFormat aiff_muxer = { aiff_write_header, aiff_write_packet, aiff_write_trailer, + .codec_tag= {codec_aiff_tags}, }; #endif diff --git a/libavformat/au.c b/libavformat/au.c index acc42b4022..0ec089b15a 100644 --- a/libavformat/au.c +++ b/libavformat/au.c @@ -190,6 +190,7 @@ AVInputFormat au_demuxer = { au_read_packet, au_read_close, pcm_read_seek, + .codec_tag= {codec_au_tags}, }; #endif @@ -205,5 +206,6 @@ AVOutputFormat au_muxer = { au_write_header, au_write_packet, au_write_trailer, + .codec_tag= {codec_au_tags}, }; #endif //CONFIG_AU_MUXER diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index c8c527a8f9..1bc0f9f63b 100644 --- a/libavformat/flvenc.c +++ b/libavformat/flvenc.c @@ -332,4 +332,5 @@ AVOutputFormat flv_muxer = { flv_write_header, flv_write_packet, flv_write_trailer, + .codec_tag= {flv_video_codec_ids, flv_audio_codec_ids}, }; diff --git a/libavformat/vocdec.c b/libavformat/vocdec.c index 6a78692278..f13120ef11 100644 --- a/libavformat/vocdec.c +++ b/libavformat/vocdec.c @@ -152,4 +152,5 @@ AVInputFormat voc_demuxer = { voc_read_header, voc_read_packet, voc_read_close, + .codec_tag={voc_codec_tags}, }; diff --git a/libavformat/vocenc.c b/libavformat/vocenc.c index ed304883d1..5b6e3c1680 100644 --- a/libavformat/vocenc.c +++ b/libavformat/vocenc.c @@ -101,4 +101,5 @@ AVOutputFormat voc_muxer = { voc_write_header, voc_write_packet, voc_write_trailer, + .codec_tag={voc_codec_tags}, };