<br><br>On Wednesday, 23 July 2014, Carl Eugen Hoyos <<a href="mailto:cehoyos@ag.or.at">cehoyos@ag.or.at</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Robin Stevens <rdstevens@...> writes:<br>
<br>
> I used ffmpeg.exe to remux the file (as described<br>
> in previous email). Does that count as a test?<br>
<br>
Of course, sorry for missing that part of your mail.<br>
<br>
You may be missing setting the global headers.<br>
<br>
Carl Eugen<br><br>
</blockquote><div><br></div><div>You were absolutely correct! I *was* setting the global headers flag, but I was doing so *after* calling avcodec_open2.</div><div><br></div><div>Moving the flag assignment to before the call to avcodec_open2 has solved it.</div>
<div><br></div><div>Thank you! This has cost me *weeks* of time!</div><div><br></div><div>Thanks,</div><div>Rob<span></span> </div>