Fixing compilation errors in the libavcodec and huffyuv encoders.

plugins_common now builds! Another milestone.