[MPlayer-users] [BUGREPORT] SVQ3 and any filter

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Oct 29 13:17:56 CEST 2004


Hi,

> With any of a series of SVQ3 mov files from MoveOn, MPlayer will crash
> on exit (uninit_vcodec) IF using ANY video filters.  Leave out filters,
> and it doesn't have any problem at all.
> 
> I've tried a dozen filters, and any one of them will make mplayer crash
> on exit.  Oddly, only pp=dc _doesn't_ cause a crash, although pp=de
> _does_ cause a crash.

Attached patch works for me. Please test.

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: libmpcodecs/vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.136
diff -u -r1.136 vd_ffmpeg.c
--- libmpcodecs/vd_ffmpeg.c	11 Oct 2004 16:23:20 -0000	1.136
+++ libmpcodecs/vd_ffmpeg.c	29 Oct 2004 11:10:44 -0000
@@ -578,6 +578,8 @@
 
     mpi= mpcodecs_get_image(sh,type, flags,
 			(width+align)&(~align), (height+align)&(~align));
+    mpi->w = width;
+    mpi->h = height;
 
     // ok, let's see what did we get:
     if(  mpi->flags&MP_IMGFLAG_DRAW_CALLBACK &&


More information about the MPlayer-users mailing list