id3v2: fix reading unsynchronized frames.
authorAnton Khirnov <anton@khirnov.net>
Wed, 21 Nov 2012 07:48:47 +0000 (08:48 +0100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 22 Nov 2012 12:40:04 +0000 (13:40 +0100)
commit9ae80e6a9cefcab61e867256ba19ef78a4bfe0cb
treec399f75121f89c438569ab497b74bc3f1307af35
parent0d3123666a42ed6c74d0a052342175261304b8ca
id3v2: fix reading unsynchronized frames.

Current code would incorrectly process e.g. 'ff 00 ff 00 ff' to
'ff ff ff', while it should be 'ff ff 00 ff'.

Fixes Bug 395.

CC: libav-stable@libav.org
libavformat/id3v2.c