| Index: source/libvpx/vp8/encoder/onyx_if.c
|
| ===================================================================
|
| --- source/libvpx/vp8/encoder/onyx_if.c (revision 263011)
|
| +++ source/libvpx/vp8/encoder/onyx_if.c (working copy)
|
| @@ -1401,6 +1401,7 @@
|
| unsigned int i;
|
| double prev_layer_framerate=0;
|
|
|
| + assert(oxcf->number_of_layers <= VPX_TS_MAX_LAYERS);
|
| for (i=0; i<oxcf->number_of_layers; i++)
|
| {
|
| LAYER_CONTEXT *lc = &cpi->layer_context[i];
|
| @@ -5071,6 +5072,7 @@
|
| unsigned int i;
|
|
|
| /* Update frame rates for each layer */
|
| + assert(cpi->oxcf.number_of_layers <= VPX_TS_MAX_LAYERS);
|
| for (i=0; i<cpi->oxcf.number_of_layers; i++)
|
| {
|
| LAYER_CONTEXT *lc = &cpi->layer_context[i];
|
|
|