Merge "Apply input buffer validation also to AVC and MPEG4 encoders" into mnc-dev