summaryrefslogtreecommitdiff
path: root/libavformat/avienc.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2003-09-05 18:45:32 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2003-09-05 18:45:32 +0000
commit3aa180b84ee2473ca14355ceca7c50d6216783a9 (patch)
treec179708808ba553e018aaf5bbf1945dd97681602 /libavformat/avienc.c
parent8026c3b54c1de01e864848469e1853e9fa27a965 (diff)
initial nut muxer and demuxer (demuxer is not fail safe)
Originally committed as revision 2211 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avienc.c')
-rw-r--r--libavformat/avienc.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index fb2f7c0208..4d60e04740 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -184,6 +184,21 @@ unsigned int codec_get_bmp_tag(int id)
return codec_get_tag(codec_bmp_tags, id);
}
+unsigned int codec_get_wav_tag(int id)
+{
+ return codec_get_tag(codec_wav_tags, id);
+}
+
+enum CodecID codec_get_bmp_id(unsigned int tag)
+{
+ return codec_get_id(codec_bmp_tags, tag);
+}
+
+enum CodecID codec_get_wav_id(unsigned int tag)
+{
+ return codec_get_id(codec_wav_tags, tag);
+}
+
/* BITMAPINFOHEADER header */
void put_bmp_header(ByteIOContext *pb, AVCodecContext *enc, const CodecTag *tags, int for_asf)
{