[FFmpeg-cvslog] avcodec/libdav1d: honor the requested strict_std_compliance level on supported builds

James Almer git at videolan.org
Fri Jan 7 04:00:41 EET 2022


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Jan  6 20:07:07 2022 -0300| [3e17e0e5eff896f43654635bd3219da56f807f11] | committer: James Almer

avcodec/libdav1d: honor the requested strict_std_compliance level on supported builds

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3e17e0e5eff896f43654635bd3219da56f807f11
---

 libavcodec/libdav1d.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c
index bbc81a9dc9..8e45f533cb 100644
--- a/libavcodec/libdav1d.c
+++ b/libavcodec/libdav1d.c
@@ -236,6 +236,9 @@ static av_cold int libdav1d_init(AVCodecContext *c)
     s.all_layers = dav1d->all_layers;
     if (dav1d->operating_point >= 0)
         s.operating_point = dav1d->operating_point;
+#if FF_DAV1D_VERSION_AT_LEAST(6,2)
+    s.strict_std_compliance = c->strict_std_compliance > 0;
+#endif
 
 #if FF_DAV1D_VERSION_AT_LEAST(6,0)
     if (dav1d->frame_threads || dav1d->tile_threads)



More information about the ffmpeg-cvslog mailing list