Merge "DO NOT MERGE: Apply input buffer validation also to AVC and MPEG4 encoders" into lmp-mr1-dev