<br>Hi Albert<br><br> Actually I didn't get any warnings about accessing png info structure variables. I think in some old versions it may occur. <br>But for safety reason I replaced them with the functions. Please find the new patch attached with this mail.<br>
<br><br>Thanks<br>--<br>A Srinivas<br><br><div class="gmail_quote">On Wed, Mar 16, 2011 at 12:30 AM, <span dir="ltr"><<a href="mailto:poppler-request@lists.freedesktop.org">poppler-request@lists.freedesktop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Send poppler mailing list submissions to<br>
<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:poppler-request@lists.freedesktop.org">poppler-request@lists.freedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:poppler-owner@lists.freedesktop.org">poppler-owner@lists.freedesktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of poppler digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Patch for embedding videos in to the pdf (Albert Astals Cid)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 14 Mar 2011 22:12:10 +0000<br>
From: Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>><br>
Subject: Re: [poppler] Patch for embedding videos in to the pdf<br>
To: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
Message-ID: <<a href="mailto:201103142212.10597.aacid@kde.org">201103142212.10597.aacid@kde.org</a>><br>
Content-Type: Text/Plain; charset="utf-8"<br>
<br>
A Dilluns, 14 de mar? de 2011, Albert Astals Cid va escriure:<br>
> A Dijous, 10 de mar? de 2011, srinivas adicherla va escriure:<br>
> > Hi Albert<br>
> ><br>
> > Sorry I forgot to remove xrefA from 'load_from_png'. And I<br>
> ><br>
> > check if the<br>
> > video_name is null iam assigning video_name = video_file<br>
> ><br>
> > Thanks<br>
><br>
> Looks good to me now, if noone disagrees i'll commit it to master in the<br>
> next 24 hours or so.<br>
<br>
Actually i disagree :D<br>
<br>
Can you please fix these warnings<br>
<br>
/home/tsdgeos/devel/poppler/poppler/Annot.cc: In function ?MemStream*<br>
load_from_png(FILE*, Object*)?:<br>
/home/tsdgeos/devel/poppler/poppler/Annot.cc:4147:17: warning:<br>
?png_info_struct::color_type? is deprecated (declared at<br>
/usr/include/png.h:661)<br>
/home/tsdgeos/devel/poppler/poppler/Annot.cc:4147:17: warning:<br>
?png_info_struct::color_type? is deprecated (declared at<br>
/usr/include/png.h:661)<br>
/home/tsdgeos/devel/poppler/poppler/Annot.cc:4150:25: warning:<br>
?png_info_struct::width? is deprecated (declared at /usr/include/png.h:647)<br>
/home/tsdgeos/devel/poppler/poppler/Annot.cc:4150:25: warning:<br>
?png_info_struct::width? is deprecated (declared at /usr/include/png.h:647)<br>
/home/tsdgeos/devel/poppler/poppler/Annot.cc:4151:26: warning:<br>
?png_info_struct::height? is deprecated (declared at /usr/include/png.h:648)<br>
/home/tsdgeos/devel/poppler/poppler/Annot.cc:4151:26: warning:<br>
?png_info_struct::height? is deprecated (declared at /usr/include/png.h:648)<br>
/home/tsdgeos/devel/poppler/poppler/Annot.cc:4162:47: warning:<br>
?png_info_struct::rowbytes? is deprecated (declared at /usr/include/png.h:651)<br>
/home/tsdgeos/devel/poppler/poppler/Annot.cc:4162:47: warning:<br>
?png_info_struct::rowbytes? is deprecated (declared at /usr/include/png.h:651)<br>
/home/tsdgeos/devel/poppler/poppler/Annot.cc:4167:74: warning:<br>
?png_info_struct::rowbytes? is deprecated (declared at /usr/include/png.h:651)<br>
/home/tsdgeos/devel/poppler/poppler/Annot.cc:4167:74: warning:<br>
?png_info_struct::rowbytes? is deprecated (declared at /usr/include/png.h:651)<br>
/home/tsdgeos/devel/poppler/poppler/Annot.cc:4175:17: warning:<br>
?png_info_struct::channels? is deprecated (declared at /usr/include/png.h:672)<br>
/home/tsdgeos/devel/poppler/poppler/Annot.cc:4175:17: warning:<br>
?png_info_struct::channels? is deprecated (declared at /usr/include/png.h:672)<br>
/home/tsdgeos/devel/poppler/poppler/Annot.cc:4180:62: warning:<br>
?png_info_struct::bit_depth? is deprecated (declared at<br>
/usr/include/png.h:659)<br>
/home/tsdgeos/devel/poppler/poppler/Annot.cc:4180:62: warning:<br>
?png_info_struct::bit_depth? is deprecated (declared at<br>
/usr/include/png.h:659)<br>
<br>
Albert<br>
<br>
> Albert<br>
> _______________________________________________<br>
> poppler mailing list<br>
> <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
<br>
<br>
End of poppler Digest, Vol 73, Issue 23<br>
***************************************<br>
</blockquote></div><br>