[FFmpeg-devel] [PATCH] Make output-example.c handle AAC audio
Benoit Fouet
benoit.fouet
Thu Jan 21 18:10:30 CET 2010
On Thu, 21 Jan 2010 16:39:51 +0100 Michael Niedermayer wrote:
> 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
>
> [...]
applied
Ben
More information about the ffmpeg-devel
mailing list