VT: Wrong size buffer allocation of vps/sps/pps.

[Problem] H.265 stream can not be decoded due to
  an invalid header provided.
[Cause] vps/sps/pps buffers are allocated with smaller
  size than required.
[Solution] Correct a size to allocate buffers.

* Some expressions used in this H.265 vps/sps/pps parser
  copied on the same function part of H.264 for consistency.

bug: 192326376

Signed-off-by: Byeongjo Park <bjo.park@samsung.com>
Merged-in: Ia07090468e382b3a4bf62e3ca5659e292e7ee3a5
Change-Id: Ia07090468e382b3a4bf62e3ca5659e292e7ee3a5
Signed-off-by: Kim Sungyeon <sy85.kim@samsung.com>
1 file changed