]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/id3v1.h
os_support: fix poll() implementation
[ffmpeg] / libavformat / id3v1.h
index 02333a16014fa03f71286289ba19ae0e893e5983..8eb58be2d1e3b33f9e29717eb296622b76e6d9df 100644 (file)
 #ifndef AVFORMAT_ID3V1_H
 #define AVFORMAT_ID3V1_H
 
+#include "avformat.h"
+
 #define ID3v1_TAG_SIZE 128
 
-#define ID3v1_GENRE_MAX 125
+#define ID3v1_GENRE_MAX 147
 
 /**
  * ID3v1 genres
  */
-extern const char *ff_id3v1_genre_str[ID3v1_GENRE_MAX + 1];
+extern const char * const ff_id3v1_genre_str[ID3v1_GENRE_MAX + 1];
+
+/**
+ * Read an ID3v1 tag
+ */
+void ff_id3v1_read(AVFormatContext *s);
 
 #endif /* AVFORMAT_ID3V1_H */