diff id3v1.h @ 5045:9ed3c88ed9ba libavformat

Move id3v1/id3v2 handling code from mp3.c to id3v[12].c. patch by Patrick Dehne, patrick mysonicweb com
author diego
date Fri, 19 Jun 2009 14:03:35 +0000
parents eb6dd7717805
children eb33b7205b3c
line wrap: on
line diff
--- a/id3v1.h	Fri Jun 19 13:26:10 2009 +0000
+++ b/id3v1.h	Fri Jun 19 14:03:35 2009 +0000
@@ -22,6 +22,8 @@
 #ifndef AVFORMAT_ID3V1_H
 #define AVFORMAT_ID3V1_H
 
+#include "avformat.h"
+
 #define ID3v1_TAG_SIZE 128
 
 #define ID3v1_GENRE_MAX 125
@@ -31,5 +33,10 @@
  */
 extern const char *ff_id3v1_genre_str[ID3v1_GENRE_MAX + 1];
 
+/**
+ * Read an ID3v1 tag
+ */
+void ff_id3v1_read(AVFormatContext *s);
+
 #endif /* AVFORMAT_ID3V1_H */