st/omx: strcpy the string into the allocated buffer
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 28 Jun 2014 14:24:43 +0000 (15:24 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 28 Jun 2014 14:24:45 +0000 (15:24 +0100)
commit15b5e663b050505683b7b4c9c489e46863b8441d
treec272631ed59bf8731558d74d54abf6f4efb13f48
parentf230015206acc460571e3faf52f33111512f9dc6
st/omx: strcpy the string into the allocated buffer

This fixes commit a001ca98e15(st/omx: keep the name,
(name|role)_specific strings dynamically allocated) in which we
dynamically allocated the buffers for name and (name|role)_specific
yet forgot to copy the encoder strings into them.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80614
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/state_trackers/omx/vid_enc.c