#97 ref-impl/aaflib/aaflibsgi.cpp

closed-fixed
nobody
None
5
2011-01-13
2010-05-18
Anonymous
No

ref-impl/aaflib/aaflibsgi.cpp, change line 62 "char *pext" to "const char *pext"

Discussion

  • In version 1.1.4, the line to change in AAF-src-1.1.4-DR1/ref-impl/aaflib/aaflibsgi.cpp is line 71:

    - char *pExt = strrchr(name, '.');
    + const char *pExt = strrchr(name, '.');

    Otherwise, you get this error during "make everything" on Linux (Ubuntu Lucid 10.4; 2.6.32-27-generic #49-Ubuntu SMP; g++ v. 4.4.3):

    aaflibsgi.cpp: In function ‘bool AAFIsValidFile(const char*)’:
    aaflibsgi.cpp:71: error: invalid conversion from ‘const char*’ to ‘char*’

     
    • status: open --> closed-fixed