]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/sol.c
cosmetics: rename some functions from *get_* to *decode_*
[ffmpeg] / libavformat / sol.c
index 97ebfdb5eb07d5955b8b8f7d32c9bd4957421319..775b4e0adf266ac1d8e5c56fb2d1088e7601edc5 100644 (file)
  * Based on documents from Game Audio Player and own research
  */
 
+#include "libavutil/bswap.h"
 #include "avformat.h"
 #include "raw.h"
-#include "riff.h"
-#include "bswap.h"
 
 /* if we don't know the size in advance */
 #define AU_UNKNOWN_SIZE ((uint32_t)(~0))
@@ -141,18 +140,13 @@ static int sol_read_packet(AVFormatContext *s,
     return 0;
 }
 
-static int sol_read_close(AVFormatContext *s)
-{
-    return 0;
-}
-
 AVInputFormat sol_demuxer = {
     "sol",
-    "Sierra SOL Format",
+    NULL_IF_CONFIG_SMALL("Sierra SOL format"),
     0,
     sol_probe,
     sol_read_header,
     sol_read_packet,
-    sol_read_close,
+    NULL,
     pcm_read_seek,
 };