Re: CVS: main/libmpeg2 header.c,1.13,1.14

"Ivan Kalvachev" <[email protected]> Tue, 22 Jun 2004 00:10:16 +0300 (EEST)
Newsgroups gmane.comp.video.mplayer.g2.devel
Message-ID <[email protected]>
WTH is that?
Arpi would you fix your mess!!!!

I'm gonna send you 20l pepsi and 2 "gorillas" to watch
you drinking it.

And as I have send you mails with other problems with cvs log.


Ivan


Ivan Kalvachev CVS said:
> CVS change done by Ivan Kalvachev CVS
>
> Update of /cvsroot/mplayer/main/libmpeg2
> In directory mail:/var2/tmp/cvs-serv11903
>
> Modified Files:
> 	header.c
> Log Message:
> width and height in seq_header could never be 0
>
> Index: header.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /cvsroot/mplayer/main/libmpeg2/header.c,v
> retrieving revision 1.13
> retrieving revision 1.14
> diff -u -r1.13 -r1.14
> --- header.c	3 Aug 2003 12:04:57 -0000	1.13
> +++ header.c	21 Jun 2004 16:03:55 -0000	1.14
> @@ -111,6 +111,10 @@
>      i =3D (buffer[0] << 16) | (buffer[1] << 8) | buffer[2];
>      sequence->display_width =3D sequence->picture_width =3D width =3D =
i >> 12;
>      sequence->display_height =3D sequence->picture_height =3D height =3D=
 i & 0xfff;
> +
> +    if(width =3D=3D  || height =3D=3D 0)
> +        return 1;
> +
>      decoder->width =3D sequence->width =3D width =3D (width + 15) & ~1=
5;
>      decoder->height =3D sequence->height =3D height =3D (height + 15) =
& ~15;
>      decoder->vertical_position_extension =3D (height > 2800);
>
> _______________________________________________
> MPlayer-G2-dev mailing list
> [email protected]
> http://mplayerhq.hu/mailman/listinfo/mplayer-g2-dev
>