summaryrefslogtreecommitdiff
path: root/libavformat/id3v2.h
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2010-12-07 07:52:50 +0000
committerAnton Khirnov <wyskas@gmail.com>2010-12-07 07:52:50 +0000
commit7a07d158bde2f75a53211acb683dc73dec21dd1a (patch)
tree6dc570d4f27dc14ef7e5c4341f07d505669a48e8 /libavformat/id3v2.h
parentc6f1e29a15cada5e1f7247f2b778cc360bb7b5c1 (diff)
id3v2: use a named constant instead of 0x02
Originally committed as revision 25902 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/id3v2.h')
-rw-r--r--libavformat/id3v2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/id3v2.h b/libavformat/id3v2.h
index 48373bb3f9..4c3041fa3c 100644
--- a/libavformat/id3v2.h
+++ b/libavformat/id3v2.h
@@ -33,6 +33,11 @@
*/
#define ID3v2_DEFAULT_MAGIC "ID3"
+#define ID3v2_FLAG_DATALEN 0x0001
+#define ID3v2_FLAG_UNSYNCH 0x0002
+#define ID3v2_FLAG_ENCRYPTION 0x0004
+#define ID3v2_FLAG_COMPRESSION 0x0008
+
/**
* Detect ID3v2 Header.
* @param buf must be ID3v2_HEADER_SIZE byte long