[FFmpeg-devel] [PATCH] Make output-example.c handle AAC audio
Michael Niedermayer
michaelni
Thu Jan 21 16:39:51 CET 2010
On Thu, Jan 21, 2010 at 04:15:32PM +0200, Martin Storsj? wrote:
> Hi,
>
> If running libavformat/output-example with a .mp4 filename, it currently
> fails. The attached patch fixes this, by adding two changes:
>
> - If the output format has a global header, set the global header flag for
> the audio codec (the example already sets it for the video codec, the
> lines are copied verbatim from that part)
>
> - When encoding audio, handle the case when c->coded_frame is null
>
> // Martin
> output-example.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
> f3939648a52a86329c8038ba312799dd225f8b99 output-example.diff
looks ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100121/89d980eb/attachment.pgp>
More information about the ffmpeg-devel
mailing list