I noticed that several plugins that were using the MAXPARSEBUFFER macros have broke for vdr-1.3.36. The following plugins have been affected:
autotimer-0.1.7 mplayercluster-0.0.1a (with Udo's latest patchset) playlist-0.0.2 streamplayer-0.1.1 text2skin.cvs undelete-0.0.3
Here is my attempt at fixing the compile. I'm not much of a programmer, so please be gentle. :) I would appreciate any criticism. BTW, these patches are not backwards compatible with older versions of vdr, so you have been warned. :)
Thanks.
Gunnar Roth wrote:
C.Y.M wrote:
I noticed that several plugins that were using the MAXPARSEBUFFER macros have broke for vdr-1.3.36. The following plugins have been affected:
Why not simply re-add this macro?
Sure, re-adding the macro is an option. I thought the point though was to deprecate that macro? I dont really know what the proper fix should look like. I was just trying to make a quick hack so it would build again. :) If anyone has a better method, I would be happy to try it.
Best Regards,
I just noticed that text2skin is already fixed in cvs, so just ignore that one I posted. Also, I noticed a typo in one of the attached patches from my first post. Here goes again...
Best Regards,
C.Y.M wrote:
I noticed that several plugins that were using the MAXPARSEBUFFER macros have broke for vdr-1.3.36. The following plugins have been affected:
mplayercluster-0.0.1a (with Udo's latest patchset) streamplayer-0.1.1
Both are online in a new version. http://urichter.cjb.net/vdr/?l=en
The attached fixes return a locally allocated buffer, thus may crash deadly. Instead, use the updated versions.
Since the bug is in the forward compatibility emulation layer, I decided to chicken out and continue to use the static 10k buffer.
Cheers,
Udo