diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-16 17:20:47 -0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-17 13:12:25 -0400 |
commit | f20bcec4c2b1c2a57ed89e5be1ac2e0db1bc62b4 (patch) | |
tree | f5fb98454708d907841bdb59383a259d139e75dd /libavutil | |
parent | 21a8e751ad6abb2d423afa3041da92f8f7741997 (diff) | |
download | ffmpeg-streaming-f20bcec4c2b1c2a57ed89e5be1ac2e0db1bc62b4.zip ffmpeg-streaming-f20bcec4c2b1c2a57ed89e5be1ac2e0db1bc62b4.tar.gz |
spherical: Change types of bounding and pad to uint32_t
These values are defined to be 32bit in the specification,
so it makes more sense to store them as fixed width.
Based on a patch by Micahel Niedermayer <michael@niedermayer.cc>.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/spherical.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavutil/spherical.h b/libavutil/spherical.h index f4e0d60..a795287 100644 --- a/libavutil/spherical.h +++ b/libavutil/spherical.h @@ -164,10 +164,10 @@ typedef struct AVSphericalMapping { * projection type (@ref AV_SPHERICAL_EQUIRECTANGULAR_TILE), * and should be ignored in all other cases. */ - size_t bound_left; ///< Distance from the left edge - size_t bound_top; ///< Distance from the top edge - size_t bound_right; ///< Distance from the right edge - size_t bound_bottom; ///< Distance from the bottom edge + uint32_t bound_left; ///< Distance from the left edge + uint32_t bound_top; ///< Distance from the top edge + uint32_t bound_right; ///< Distance from the right edge + uint32_t bound_bottom; ///< Distance from the bottom edge /** * @} */ @@ -179,7 +179,7 @@ typedef struct AVSphericalMapping { * (@ref AV_SPHERICAL_CUBEMAP), and should be ignored in all other * cases. */ - size_t padding; + uint32_t padding; } AVSphericalMapping; /** |