svc_encodeframe: quiet -Warray-bounds warnings
authorJames Zern <jzern@google.com>
Sat, 15 Mar 2014 01:37:20 +0000 (18:37 -0700)
committerJames Zern <jzern@google.com>
Sat, 15 Mar 2014 01:37:20 +0000 (18:37 -0700)
commit6c0565a4cc0ea835a4b92ade5713894fb6c7824a
tree63d6459c4f4998ec83b7fb12af7883e1fe1965c7
parent7c6337ba9e486c8066db83ea2d845c3e8b7697f8
svc_encodeframe: quiet -Warray-bounds warnings

si->layers is validated prior to assignment; add an assertion prior to
first use as a loop bound

Change-Id: I727d4e24be3c352c3e5320d92e89d3f787944812
vpx/src/svc_encodeframe.c