avcenc: Check that enough arguments exist before parsing

Each round in the loop uses both argv[i] and argv[i + 1].

This fixes crashes if given an odd number of parameters, 3 or
more.

Change-Id: I9b8be99042eb7d0f69ebd87166d9cc920d15a950
1 file changed