[MPlayer-dev-eng] [PATCH] small semplification in stream_seek()

Nico Sabbi nsabbi at email.it
Wed Feb 28 01:01:41 CET 2007


Ivan Kalvachev wrote:

> 2007/2/28, Nico Sabbi <nicola_sabbi at fastwebnet.it>:
>
> if( mp_msg_test(MSGT_STREAM,MSGL_DBG3) ){
>   mp_msg(MSGT_STREAM,MSGL_DBG3, "s->pos=%"PRIX64"  newpos=%"PRIX64"
> new_bufpos=%"PRIX64"  buflen=%X  \n",
>
> =========================
> You see the patch removes the switch/case, including the check for
> STREAMTYPE_STREAM.
>
> I ask if it is intensionally or it just slipped away.


I removed it intentionally because both the case for STREAMTYPE_STREAM
and the other case (except when s->sector_size != 0) did the same thing



More information about the MPlayer-dev-eng mailing list