Merge change I6c32aa75 into eclair-mr2

* changes:
  Workaround for avc decoder misreporting output buffer size requirements if the content is not a multiple-16 width/height.