]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/matroskadec.c
Merge commit '26d9b60373bf45bc4f91ff6815f5fa36764d4d7b'
[ffmpeg] / libavformat / matroskadec.c
index 94a56ebfa7a7e11b726cfa51666c5e34e9cbd2c6..cdb2e20bb1b92aa1e9325ee0616f0b7fe3f56479 100644 (file)
@@ -1996,11 +1996,12 @@ static int mkv_parse_video_projection(AVStream *st, const MatroskaTrack *track)
     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;