diff options
Diffstat (limited to 'decoder/LAVVideo/decoders/ILAVDecoder.h')
-rw-r--r-- | decoder/LAVVideo/decoders/ILAVDecoder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoder/LAVVideo/decoders/ILAVDecoder.h b/decoder/LAVVideo/decoders/ILAVDecoder.h index 05bc2b1d..26a82de0 100644 --- a/decoder/LAVVideo/decoders/ILAVDecoder.h +++ b/decoder/LAVVideo/decoders/ILAVDecoder.h @@ -94,7 +94,7 @@ typedef struct LAVFrame { int height; ///< height of the frame (in pixel) BYTE *data[4]; ///< pointer to the picture planes - int stride[4]; ///< stride of the planes (in bytes) + ptrdiff_t stride[4]; ///< stride of the planes (in bytes) LAVPixelFormat format; ///< pixel format of the frame int bpp; ///< bits per pixel, only meaningful for YUV420bX, YUV422bX or YUV444bX @@ -134,7 +134,7 @@ typedef struct LAVFrame { * @param stride stride to use (in pixel). If 0, a stride will be computed to fill usual alignment rules * @return HRESULT */ -HRESULT AllocLAVFrameBuffers(LAVFrame *pFrame, int stride = 0); +HRESULT AllocLAVFrameBuffers(LAVFrame *pFrame, ptrdiff_t stride = 0); /** * Destruct a LAV Frame, freeing its data pointers |