diff options
Diffstat (limited to 'media/base/buffers.h')
-rw-r--r-- | media/base/buffers.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/media/base/buffers.h b/media/base/buffers.h index d600289..527f9e6 100644 --- a/media/base/buffers.h +++ b/media/base/buffers.h @@ -157,8 +157,9 @@ struct VideoSurface { size_t planes; // Array of strides for each plane, typically greater or equal to the width - // of the surface divided by the horizontal sampling period. - size_t strides[kMaxPlanes]; + // of the surface divided by the horizontal sampling period. Note that + // strides can be negative. + int32 strides[kMaxPlanes]; // Array of data pointers to each plane. uint8* data[kMaxPlanes]; |