vidc: Use correct port setting for encoder during prepare buffer.

When prepare buffer was called for encoder, the port configurations
were swapped. This change corrects this error.

Change-Id: I927cf66666dd02e0f4abbdc9d7be561a857ab2b0
Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
1 file changed