omx: videodecode: Fix uninitialized variable issue

The videodecoder component name should be set after
initializing the base component fields, otherwise
during base component name field init, the previous
settings are overwritten.
And also the task name size should be the same as the
component name size , as we copy the component name
as the task name.
Because of the mismatch sizes earlier, there is a
memory overflow and structure corruption randomly.
this patch fixes such random memory corruption and
crash during OMX video decoder init.

Change-Id: I02e10cee2413549701c5e66b4c364452b53698fc
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
2 files changed