s5p-mfc: Fix the calculation of DPB size for non H264 video
authorKamil Debski <k.debski@samsung.com>
Wed, 2 Apr 2014 09:08:37 +0000 (11:08 +0200)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 06:17:34 +0000 (15:17 +0900)
commit9e00a0f715c3b13c2ac8c2b7a97cd23e307ad312
tree5c8f353e71cab8d6952c48a90399458c988fa603
parente78509eaf0c4f376984553f9d97a64e8b3a41db0
s5p-mfc: Fix the calculation of DPB size for non H264 video

Image size was used instead of the buffer size which resulted in a smaller
than necessary buffer allocation.

Change-Id: Ia457957cf8e2777e01c3d9f18216156b0dce4856
Signed-off-by: Kamil Debski <k.debski@samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c