user3912: Using this FFmpeg:
ffmpeg-20160127-git-9079e99

With this file, if I run this command:
ffmpeg -i Miaow-02-Hidden.m4a -c copy outfile.m4a

I get this message:
[ipod @ 0000000000694500] Codec for stream 0 does not use global headers but
container format requires global headers

How can I resolve this warning?

user3912: This issue was fixed with commit 955b818:
commit 955b818cf947473ec94a3fe8aa7f408b119fbbc9
Author: Clément Bœsch <clement@stupeflix.com>
Date:   Thu Sep 1 16:48:45 2016 +0200

    ffmpeg: switch to codecpar

You can suppress the warning on older version like so:

ffmpeg -i Miaow-02-Hidden.m4a -c copy -flags global_header outfile.m4a

Example

3912: <p>Using this FFmpeg:</p>

<pre><code>ffmpeg-20160127-git-9079e99
</code></pre>

<p>With <a href="http://jplayer.org/audio/m4a/Miaow-02-Hidden.m4a" rel="nofollow noreferrer">this file</a>, if I run this command:</p>

<pre><code>ffmpeg -i Miaow-02-Hidden.m4a -c copy outfile.m4a
</code></pre>

<p>I get this message:</p>

<pre><code>[ipod @ 0000000000694500] Codec for stream 0 does not use global headers but
container format requires global headers
</code></pre>

<p>How can I resolve this warning?</p>
 3912: <p>This issue was fixed with <a href="//github.com/FFmpeg/FFmpeg/commit/955b818" rel="noreferrer">commit 955b818</a>:</p>

<pre><code>commit 955b818cf947473ec94a3fe8aa7f408b119fbbc9
Author: Clément Bœsch &lt;clement@stupeflix.com&gt;
Date:   Thu Sep 1 16:48:45 2016 +0200

    ffmpeg: switch to codecpar
</code></pre>

<p>You can suppress the warning on older version like so:</p>

<pre>
ffmpeg -i Miaow-02-Hidden.m4a -c copy <b>-flags global_header</b> outfile.m4a
</pre>

<p><a href="//github.com/svnpenn/a/blob/db3e32f/music/music-download.sh#L67-L68" rel="noreferrer">Example</a></p>
