<div dir="ltr">Pushed into Release_3.1 and grafted the fix to Release_3.2 and default.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 16, 2019 at 4:43 PM <<a href="mailto:pooja@multicorewareinc.com">pooja@multicorewareinc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"># HG changeset patch<br>
# User Pooja Venkatesan <<a href="mailto:pooja@multicorewareinc.com" target="_blank">pooja@multicorewareinc.com</a>><br>
# Date 1571043796 -19800<br>
# Mon Oct 14 14:33:16 2019 +0530<br>
# Node ID 4f33ba60df5715e5bd6277eee20e4f778283a7b9<br>
# Parent 37648fca915b389bafe923d8443818359e80ebf2<br>
Fix encoder crash with zones and add test for zones<br>
<br>
diff -r 37648fca915b -r 4f33ba60df57 source/encoder/api.cpp<br>
--- a/source/encoder/api.cpp Fri Oct 11 12:45:52 2019 +0530<br>
+++ b/source/encoder/api.cpp Mon Oct 14 14:33:16 2019 +0530<br>
@@ -108,6 +108,7 @@<br>
int zoneCount = p->rc.zonefileCount ? p->rc.zonefileCount : p->rc.zoneCount;<br>
param->rc.zones = x265_zone_alloc(zoneCount, !!p->rc.zonefileCount);<br>
latestParam->rc.zones = x265_zone_alloc(zoneCount, !!p->rc.zonefileCount);<br>
+ zoneParam->rc.zones = x265_zone_alloc(zoneCount, !!p->rc.zonefileCount);<br>
}<br>
<br>
x265_copy_params(param, p);<br>
diff -r 37648fca915b -r 4f33ba60df57 source/test/regression-tests.txt<br>
--- a/source/test/regression-tests.txt Fri Oct 11 12:45:52 2019 +0530<br>
+++ b/source/test/regression-tests.txt Mon Oct 14 14:33:16 2019 +0530<br>
@@ -157,6 +157,7 @@<br>
ducks_take_off_420_720p50.y4m,--preset medium --aq-mode 4 --crf 22 --no-cutree<br>
ducks_take_off_420_1_720p50.y4m,--preset medium --selective-sao 4 --sao --crf 20<br>
Traffic_4096x2048_30p.y4m, --preset medium --frame-dup --dup-threshold 60 --hrd --bitrate 10000 --vbv-bufsize 15000 --vbv-maxrate 12000<br>
+Kimono1_1920x1080_24_400.yuv,--preset superfast --qp 28 --zones 0,139,q=32<br>
<br>
# Main12 intraCost overflow bug test<br>
720p50_parkrun_ter.y4m,--preset medium<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font face="georgia, serif">Regards,</font><div><font face="georgia, serif">Aruna</font></div></div></div>