<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 13, 2018 at 12:04 PM Aruna Matheswaran <<a href="mailto:aruna@multicorewareinc.com">aruna@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"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div># HG changeset patch</div><div># User Aruna Matheswaran <<a href="mailto:aruna@multicorewareinc.com" target="_blank">aruna@multicorewareinc.com</a>></div><div># Date 1544678715 -19800</div><div># Thu Dec 13 10:55:15 2018 +0530</div><div># Node ID 81373aab81dfe2e31a5ef353b1073d8bf1e22502</div><div># Parent 3023bd8b05c0a0dc4f60b4a1afc6619c5cc3d5a0</div><div>Dolby Vision: Fix MinGW build warnings and nits</div></div></div></div></div></blockquote><div><br></div><div>Pushed to default branch.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div><br></div><div>diff -r 3023bd8b05c0 -r 81373aab81df doc/reST/cli.rst</div><div>--- a/doc/reST/cli.rst<span style="white-space:pre-wrap"> </span>Wed Oct 17 11:08:38 2018 +0530</div><div>+++ b/doc/reST/cli.rst<span style="white-space:pre-wrap"> </span>Thu Dec 13 10:55:15 2018 +0530</div><div>@@ -2216,7 +2216,7 @@</div><div> </div><div> Currently only profile 5 enabled, Default 0 (disabled)</div><div> </div><div>-.. option:: --dolby-vision-rpu</div><div>+.. option:: --dolby-vision-rpu <filename></div><div> </div><div> File containing Dolby Vision RPU metadata. If given, x265's Dolby Vision </div><div> metadata parser will fill the RPU field of input pictures with the metadata</div><div>diff -r 3023bd8b05c0 -r 81373aab81df source/x265.cpp</div><div>--- a/source/x265.cpp<span style="white-space:pre-wrap"> </span>Wed Oct 17 11:08:38 2018 +0530</div><div>+++ b/source/x265.cpp<span style="white-space:pre-wrap"> </span>Thu Dec 13 10:55:15 2018 +0530</div><div>@@ -572,15 +572,15 @@</div><div> * and fill the rpu field of the input picture */</div><div> static int rpuParser(x265_picture * pic, FILE * ptr)</div><div> {</div><div>- uint8_t byte;</div><div>+ uint8_t byteVal;</div><div> uint32_t code = 0;</div><div> int bytesRead = 0;</div><div> pic->rpu.payloadSize = 0;</div><div> </div><div> if (!pic->pts)</div><div> {</div><div>- while (bytesRead++ < 4 && fread(&byte, sizeof(uint8_t), 1, ptr))</div><div>- code = (code << 8) | byte;</div><div>+ while (bytesRead++ < 4 && fread(&byteVal, sizeof(uint8_t), 1, ptr))</div><div>+ code = (code << 8) | byteVal;</div><div> </div><div> if (code != START_CODE)</div><div> {</div><div>@@ -590,9 +590,9 @@</div><div> } </div><div> </div><div> bytesRead = 0;</div><div>- while (fread(&byte, sizeof(uint8_t), 1, ptr))</div><div>+ while (fread(&byteVal, sizeof(uint8_t), 1, ptr))</div><div> {</div><div>- code = (code << 8) | byte;</div><div>+ code = (code << 8) | byteVal;</div><div> if (bytesRead++ < 3)</div><div> continue;</div><div> if (bytesRead >= 1024)</div></div><div><br></div></div></div></div>
_______________________________________________<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></div>