Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/picture.c')
-rw-r--r--src/picture.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/picture.c b/src/picture.c
index 57935e2..39be558 100644
--- a/src/picture.c
+++ b/src/picture.c
@@ -120,6 +120,7 @@ static int picture_alloc_with_edges(Dav1dPicture *const p,
p->p.trc = DAV1D_TRC_UNKNOWN;
p->p.mtrx = DAV1D_MC_UNKNOWN;
p->p.chr = DAV1D_CHR_UNKNOWN;
+ p->m.timestamp = p->m.duration = p->m.offset = ~0ULL;
p->p.layout = layout;
p->p.bpc = bpc;
p->p.film_grain = (Dav1dFilmGrainData) { 0 };
@@ -178,6 +179,7 @@ int dav1d_picture_alloc_copy(Dav1dPicture *const dst, const int w,
if (!res) {
dst->poc = src->poc;
dst->p = src->p;
+ dst->m = src->m;
dst->p.w = w;
}