[MPlayer-dev-eng] [PATCH] Read pts for VCD in demux_mpg.c
Nico Sabbi
nsabbi at email.it
Tue Feb 27 17:16:25 CET 2007
Nico Sabbi wrote:
> Nico Sabbi wrote:
>
>>
>>> {
>>> @@ -195,7 +196,7 @@
>>> float first_pts = read_first_mpeg_pts_at_position(demuxer,
>>> demuxer->movi_start);
>>> if(first_pts != -1.0)
>>> {
>>> - float middle_pts = read_first_mpeg_pts_at_position(demuxer,
>>> (demuxer->movi_end - demuxer->movi_start)/2);
>>> + float middle_pts = read_first_mpeg_pts_at_position(demuxer,
>>> (demuxer->movi_end + demuxer->movi_start)/2);
>>>
>>>
>>
>> am I blind or this is cosmetics?
>>
> sorry, rethorical question :(
yet, the general notion of middle is (end-start)/2 ; why do you want to
change it to (end+start)/2 ?
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Refill s.r.l. - Prodotti per TUTTE le stampanti sul mercato a prezzi sempre convenienti. Dal 1993, leader nel compatibile di qualità in Italia.
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5188&d=27-2
More information about the MPlayer-dev-eng
mailing list