marucodec: Added exeption routine in the qemu_av_picture_copy func.
authorKitae Kim <kt920.kim@samsung.com>
Fri, 28 Dec 2012 04:19:53 +0000 (13:19 +0900)
committerKitae Kim <kt920.kim@samsung.com>
Fri, 28 Dec 2012 04:19:53 +0000 (13:19 +0900)
commitada798ad2c4a57319e400e2b8939f60e4e6aa92f
tree1a7263d29955b4cb05f3c476c5881df36993f4f6
parentac605a3e0f8a12d69d2a4b3428ff82df50a111ff
marucodec: Added exeption routine in the qemu_av_picture_copy func.

Before calling av_picture_copy, there is memory allocation for a frame.
When the memory allocation is failed, av_picture_copy call make qemu crashed.
So, added exeption routine in case of memory allocation failure in host.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
tizen/src/hw/maru_codec.c