[Mplayer-cvslog] CVS: main/liba52 bitstream.h,1.4,1.5

Michael Niedermayer michaelni at gmx.at
Mon May 5 03:58:13 CEST 2003


Hi

On Monday 05 May 2003 03:23, Diego Biurrun CVS wrote:
> Update of /cvsroot/mplayer/main/liba52
> In directory mail:/var/tmp.root/cvs-serv31947/liba52
>
> Modified Files:
> 	bitstream.h
> Log Message:
> this is a important patch for hpux 11.00, because it avoid the
> SIGBUS Signal Error if playing video direct from DVD-Rom.
> Patch by Martin Gansser <mgansser at ngi.de>.
>
>
> Index: bitstream.h
> ===================================================================
> RCS file: /cvsroot/mplayer/main/liba52/bitstream.h,v
> retrieving revision 1.4
> retrieving revision 1.5
> diff -u -r1.4 -r1.5
> --- bitstream.h	3 Sep 2002 17:15:08 -0000	1.4
> +++ bitstream.h	5 May 2003 01:22:21 -0000	1.5
> @@ -21,10 +21,10 @@
>   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 
> USA */
>
> -#ifdef __sparc__
> +#if defined(__sparc__) || defined(hpux)
iam sure there are more, perhaps it would be better to fix the problem instead 
of disabling the code, its quite easy (just copy & paste the unaligned32() 
stuff from common.h from libavcodec and use it for the 32bit read instead) 
someone with sparc/hpux/... could try that ...
btw, and obviously benchmarking both variants on sparc/... and using the 
faster would be a good idea too 

[...]

-- 
Michael
screen[y][x] ^= cursor[cy][cx];			(violates patent #4,197,590)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]);	(violates patent #5,905,535)
buf[i]= qp - buf[i-1];				(violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en



More information about the MPlayer-cvslog mailing list