]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/au.c
matroskadec: use generic parser to parse chapters
[ffmpeg] / libavformat / au.c
index c6d5026e954da0403f69e89f58a0e2204fe50c85..25a55eb0d4f1fbba33c8f20cc80c1087ba3ef3f2 100644 (file)
@@ -39,6 +39,7 @@ static const AVCodecTag codec_au_tags[] = {
     { CODEC_ID_PCM_MULAW, 1 },
     { CODEC_ID_PCM_S8, 2 },
     { CODEC_ID_PCM_S16BE, 3 },
+    { CODEC_ID_PCM_F32BE, 6 },
     { CODEC_ID_PCM_ALAW, 27 },
     { 0, 0 },
 };
@@ -172,20 +173,15 @@ static int au_read_packet(AVFormatContext *s,
     return 0;
 }
 
-static int au_read_close(AVFormatContext *s)
-{
-    return 0;
-}
-
 #ifdef CONFIG_AU_DEMUXER
 AVInputFormat au_demuxer = {
     "au",
-    "SUN AU Format",
+    NULL_IF_CONFIG_SMALL("SUN AU format"),
     0,
     au_probe,
     au_read_header,
     au_read_packet,
-    au_read_close,
+    NULL,
     pcm_read_seek,
     .codec_tag= (const AVCodecTag*[]){codec_au_tags, 0},
 };
@@ -194,7 +190,7 @@ AVInputFormat au_demuxer = {
 #ifdef CONFIG_AU_MUXER
 AVOutputFormat au_muxer = {
     "au",
-    "SUN AU Format",
+    NULL_IF_CONFIG_SMALL("SUN AU format"),
     "audio/basic",
     "au",
     0,