<br>Hi Albert<br><br>     Actually I didn&#39;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">&lt;<a href="mailto:poppler-request@lists.freedesktop.org">poppler-request@lists.freedesktop.org</a>&gt;</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 &#39;help&#39; 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 &quot;Re: Contents of poppler digest...&quot;<br>
<br>
<br>
Today&#39;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 &lt;<a href="mailto:aacid@kde.org">aacid@kde.org</a>&gt;<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: &lt;<a href="mailto:201103142212.10597.aacid@kde.org">201103142212.10597.aacid@kde.org</a>&gt;<br>
Content-Type: Text/Plain;  charset=&quot;utf-8&quot;<br>
<br>
A Dilluns, 14 de mar? de 2011, Albert Astals Cid va escriure:<br>
&gt; A Dijous, 10 de mar? de 2011, srinivas adicherla va escriure:<br>
&gt; &gt; Hi Albert<br>
&gt; &gt;<br>
&gt; &gt;             Sorry I forgot to remove xrefA from &#39;load_from_png&#39;. And I<br>
&gt; &gt;<br>
&gt; &gt; check if the<br>
&gt; &gt; video_name is null iam assigning video_name = video_file<br>
&gt; &gt;<br>
&gt; &gt; Thanks<br>
&gt;<br>
&gt; Looks good to me now, if noone disagrees i&#39;ll commit it to master in the<br>
&gt; 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>
&gt; Albert<br>
&gt; _______________________________________________<br>
&gt; poppler mailing list<br>
&gt; <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
&gt; <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>