[Mplayer-cvslog] CVS: main/libvo vo_vesa.c,1.82,1.83
Fabien Tassin
fta at sofaraway.org
Wed Jan 22 01:36:18 CET 2003
This patch makes mplayer unusable in console mode using -vo vesa
with my old ATI 3D Rage pro (Mach64) card. It always leaves the console in
graphic mode. Please revert, this is not the right fix.
Hint: in vbeSaveState(), VBE_LRMI_int(0x10,&r) gives me r.eax = 0x0000
and then init_state stays unchanged (ie NULL).
/Fabien
According to Filip Kalinski CVS:
>
> Modified Files:
> vo_vesa.c
> Log Message:
> Not checking it caused SIGSEV when uninitning after vesa init failed.
>
>
> Index: vo_vesa.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libvo/vo_vesa.c,v
> retrieving revision 1.82
> retrieving revision 1.83
> diff -u -r1.82 -r1.83
> --- vo_vesa.c 29 Dec 2002 23:35:30 -0000 1.82
> +++ vo_vesa.c 4 Jan 2003 22:41:52 -0000 1.83
> @@ -991,6 +991,8 @@
> static void
> uninit(void)
> {
> + // not inited
> + if (!init_state) return;
> vesa_term();
> if(verbose > 2)
> printf("vo_vesa: uninit was called\n");
>
> _______________________________________________
> Mplayer-cvslog mailing list
> Mplayer-cvslog at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog
More information about the MPlayer-cvslog
mailing list