[MPlayer-cvslog] r35203 - in trunk/libmpcodecs: vf_delogo.c vf_unsharp.c

Ingo Brückl ib at wupperonline.de
Thu Sep 20 00:05:37 CEST 2012


Reimar Döffinger wrote on Wed, 19 Sep 2012 21:41:20 +0200:

> On Wed, Sep 19, 2012 at 09:02:14PM +0200, Ingo Brückl wrote:
>> >  static int put_image( struct vf_instance *vf, mp_image_t *mpi, double pts) {
>> >      mp_image_t *dmpi = mpi->priv;
>> > +    mpi->priv = NULL;
>> >
>> >      if( !(mpi->flags & MP_IMGFLAG_DIRECT) )
>> >          // no DR, so get a new image! hope we'll get DR buffer:
>>
>> This makes 'mplayer -vf-add unsharp=l7x7:1.7 <file>' crash with SIGSEGV after
>> the file has been played (applies to '-vf-add delogo' as well).

> Doesn't crash for me, neither with H.264 nor MPEG-4 content.
> I'm afraid I'll need some more information to debug that.

Does this help?

  Beenden... (Dateiende erreicht)
  ==21510== Invalid free() / delete / delete[] / realloc()
  ==21510==    at 0x4024A61: free (vg_replace_malloc.c:446)
  ==21510==    by 0x5ABCC1B: free_mem (in /lib/libc-2.9.so)
  ==21510==    by 0x5ABC729: __libc_freeres (in /lib/libc-2.9.so)
  ==21510==    by 0x401E47A: _vgnU_freeres (vg_preloaded.c:62)
  ==21510==    by 0x5A49E03: _Exit (in /lib/libc-2.9.so)
  ==21510==    by 0x808036A: exit_player_with_rc (in /usr/bin/mplayer)
  ==21510==  Address 0x5b2b3d0 is not stack'd, malloc'd or (recently) free'd

If not, please tell me how I can assist.

Ingo


More information about the MPlayer-cvslog mailing list