[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Request help debugging octave-video in mxe-octave
From: |
Andreas Weber |
Subject: |
Re: Request help debugging octave-video in mxe-octave |
Date: |
Sun, 10 Jan 2016 11:32:43 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 |
Am 08.01.2016 um 14:35 schrieb JohnD:
> I guess I will take that back - the constructor or '=' wasn’t the issue, I
> had 2 changes in the files - the other being in AVHandler.cc, changing the
> video_outbuff = malloc to the video_outbuff = av_malloc.
>
> On just changing the devel code for the av_malloc, it doesn’t crash, so I
> guess that is the issue - the free of the memory is using av_free.
>
> It might be good to remove the default contructor still and use a default
> value for AviFile::AviFile(std::string fn) to make it a default.
Hi JohnD,
I changed malloc->av_malloc in cset 7c672add6a04
and removed the void c'tor and used default arguments in 7c672add6a04.
I also decided to empty the copy constructor because it should never be
called from the user visible functions (only print a message).
Thank you for your help, Andy