"Fossies" - the Fresh Open Source Software Archive

Member "texmaker-5.0.4/pdfium/third_party/libopenjpeg20/0010-pi_update_decode_poc.patch" (16 Apr 2017, 757 Bytes) of package /linux/misc/texmaker-5.0.4.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 diff --git a/third_party/libopenjpeg20/pi.c b/third_party/libopenjpeg20/pi.c
    2 index 462e07c..9097e31 100644
    3 --- a/third_party/libopenjpeg20/pi.c
    4 +++ b/third_party/libopenjpeg20/pi.c
    5 @@ -1028,7 +1028,7 @@ static void opj_pi_update_decode_poc (opj_pi_iterator_t * p_pi,
    6         l_current_pi->poc.precno0 = 0;
    7         l_current_pi->poc.resno1 = l_current_poc->resno1; /* Resolution Level Index #0 (End) */
    8         l_current_pi->poc.compno1 = l_current_poc->compno1; /* Component Index #0 (End) */
    9 -       l_current_pi->poc.layno1 = l_current_poc->layno1; /* Layer Index #0 (End) */
   10 +       l_current_pi->poc.layno1 = opj_uint_min(l_current_poc->layno1, p_tcp->numlayers); /* Layer Index #0 (End) */
   11         l_current_pi->poc.precno1 = p_max_precision;
   12         ++l_current_pi;
   13         ++l_current_poc;