<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> - AVPacket packet = {0};<br>
> + AVPacket packet;<br>
<br>
</div><div class="im">> - { {0}, { 0, { 0 }, 0, 0 } }<br>
> + { {0}, { 0, { { {0, 0}, {0, 0} } }, 0, 0 } }<br>
<br>
</div>This warning is a gcc bug, fixed in recent versions.<br>
Setting it to 0 should initialize the whole struct to 0.<br>
AVPacket packet = 0;<br>
<br>
That's not needed, but it that kills an unwanted warning for some ppl..<br></blockquote><div><br></div><div>I'm using Clang, so it is not gcc bug. </div></div><br><br>-- <br>Maxim Bublis
</div></div>