picture: make poc the first field in Dav1dPicture

This prevents warnings on some old compilers that don't like structs that
start with an array being initialized with { 0 }.
parent 0f4253f2
......@@ -125,6 +125,8 @@ typedef struct Dav1dPictureParameters {
} Dav1dPictureParameters;
typedef struct Dav1dPicture {
int poc; ///< frame number
/**
* Pointers to planar image data (Y is [0], U is [1], V is [2]). The data
* should be bytes (for 8 bpc) or words (for 10 bpc). In case of words
......@@ -142,8 +144,6 @@ typedef struct Dav1dPicture {
Dav1dPictureParameters p;
int poc; ///< frame number
void *allocator_data; ///< pointer managed by the allocator
} Dav1dPicture;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment