spherical = av_spherical_alloc(&spherical_size);
if (!spherical)
return AVERROR(ENOMEM);
+
spherical->projection = projection;
- spherical->yaw = (int32_t)(track->video.projection.yaw * (1 << 16));
- spherical->pitch = (int32_t)(track->video.projection.pitch * (1 << 16));
- spherical->roll = (int32_t)(track->video.projection.roll * (1 << 16));
+ spherical->yaw = (int32_t) (track->video.projection.yaw * (1 << 16));
+ spherical->pitch = (int32_t) (track->video.projection.pitch * (1 << 16));
+ spherical->roll = (int32_t) (track->video.projection.roll * (1 << 16));
spherical->padding = padding;