Cinelerra 7, fix for compiler warnings in mpeg2enc
Brought to you by:
heroines
System: AMD cpu, 64 bit, Mint 18.3 (base: Ubuntu 16.04, gcc 5.4.0), and Mint 17.3 (base: Ubuntu 14.04, gcc 4.8.4). The compiler gives warnings on several files about "incompatible implicit declaration of built-in function". This patch fixes it. Apply as "patch <mpeg2enc.patch" in the mpeg2enc directory.
Files affected: global.h , mpeg2enc.c , putbits.c , readpic.c .
Note: cppcheck on the mpeg2enc directory gives warnings about uninitialized variables.
To ease applying patches, the attached script applies patches 41 through 50 in one go. Extract it somewhere, it will create a directory PatchAll, go into that directory and edit the "PatchAll.sh" script to set the proper cinelerra directory, then execute the script.