Add '#include "libavutil/intreadwrite.h"', necessary for AV_RB32.