[MPlayer-dev-eng] [PATCH] Try twice when searching for MP3 frame header, fixes Bug 380

Zuxy Meng zuxy.meng at gmail.com
Sat Dec 31 10:15:07 CET 2005


Hi,

Currently mplayer looks for only one MP3 frame sync. The attached
patch makes it to look for two consecutive valid MP3 frame headers,
reducing the probability of false positives, which causes Bug 380.

Funny that the fix is so simple. Seems that someone has forgotten to
initialize MP3_resync correctly.

--
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sr1.c.diff
Type: application/octet-stream
Size: 476 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20051231/f76a4695/attachment.obj>


More information about the MPlayer-dev-eng mailing list