[MPlayer-dev-eng] Re: [PATCH] demux_ogg.c broken bitrate detection on some files fixed
Andrew Savchenko
Bircoph at list.ru
Sun Sep 3 01:01:19 CEST 2006
Hi!
This one should work fine.
The problem was in nombr, minbr and maxbr variables data type: they are
unsigned int, but ogg stream allows them to be set in "-1" which means
unspecifed.
So I've fix their type and add a simply check wich set them to 0 if they
are -1, this allows to set properly bitrate in sh->wf->nAvgBytesPerSec.
This patch seems to be not broken, it was carefully tested.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-demux_ogg.c.patch
Type: text/x-diff
Size: 814 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060903/e1346974/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060903/e1346974/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list