commit | 34b8c23a26765058411dda943027e6588eaae959 | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Sat Jun 20 22:21:41 2015 +0300 |
committer | Martin Storsjo <martin@martin.st> | Mon Jun 22 10:02:37 2015 +0300 |
tree | 2ca0278a6ad76de556e1160db74fc3a19fb0c1a1 | |
parent | 5cdb888fea0dbc2027400f5f2c2459e6b26eec0c [diff] |
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