vdec: modified an error check routine
authorTaehwan Kim <t_h.kim@samsung.com>
Mon, 29 Oct 2012 04:18:30 +0000 (13:18 +0900)
committerHuisung Kang <hs1218.kang@samsung.com>
Mon, 29 Oct 2012 04:54:22 +0000 (13:54 +0900)
commit17c966307712d82374e3df1ce9eda06128f50862
treedcab660607377d5dbfa7a09abc934e1c01f1a0a2
parent0bfc9a10acf6b1aca0b76f2417f3d468aa370f22
vdec: modified an error check routine

If do "buffer flush" without doing srcIn function,
In case of BUFFER_COPY,
always return OMX_ErrorBadParameter
in the codecEnQueueAllBuffer function.

Change-Id: I01e8f421b68d6f66b0939334fc128901fb30210d
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Signed-off-by: Huisung Kang <hs1218.kang@samsung.com>
component/video/dec/h264/Exynos_OMX_H264dec.c
component/video/dec/mpeg4/Exynos_OMX_Mpeg4dec.c
component/video/dec/vp8/Exynos_OMX_Vp8dec.c