Merge "fix: Only do spatial SVC when there are > 1 layers"

This commit is contained in:
Tim Kopp 2014-06-27 15:42:14 -07:00 committed by Gerrit Code Review
commit a5f49183da

View File

@ -2462,7 +2462,8 @@ int vp9_get_compressed_data(VP9_COMP *cpi, unsigned int *frame_flags,
MV_REFERENCE_FRAME ref_frame;
int arf_src_index;
const int is_spatial_svc = cpi->use_svc &&
(cpi->svc.number_temporal_layers == 1);
(cpi->svc.number_temporal_layers == 1) &&
(cpi->svc.number_spatial_layers > 1);
if (!cpi)
return -1;