summaryrefslogtreecommitdiff
path: root/libavformat/id3v2.c
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.c
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.c')
-rw-r--r--libavformat/id3v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index c0fab690e2..874815a42d 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -211,7 +211,7 @@ void ff_id3v2_parse(AVFormatContext *s, int len, uint8_t version, uint8_t flags)
}else
tlen = get_size(s->pb, 4);
tflags = get_be16(s->pb);
- tunsync = tflags & 0x02;
+ tunsync = tflags & ID3v2_FLAG_UNSYNCH;
} else {
get_buffer(s->pb, tag, 3);
tag[3] = 0;