#10 Problem compiling with FFMpeg on Ubuntu 9.10

Unstable (example)
open
nobody
5
2009-11-29
2009-11-29
Anonymous
No

Using the FFMPeg plugin causes a compilation error on file transcoder_ffmpeg.cpp at line 35.

It is currently
char* sChar = NULL;

Problem is caused by the strchr which insists on a const char * therefore throwing a cannot convert (char *) to (const char*). To fix this simply change line 35 to

const char* sChar = NULL;

Compile then works perfectly.

Discussion

  • Robert Massaioli

    Thankyou for the bug report; the more the better especially these ones where you provide a fix too. However, this problem had been noted already and will come out in the next release; it is currently already fixed in development. :)

     

Log in to post a comment.