Commit Graph
5 Commits
Author SHA1 Message Date
Peter BelknerandHendrik Leppkes 1d2beb686e configure: fix build on mingw64 target with msys2 2015-09-12 15:23:52 +02:00
Peter BelknerandMichael Niedermayer 502e858fd2 swscale: fix compile on mingw32
Compiling "swscale.c" breaks on MINGW32 because of multiple including
"libswscale_template.c"
2011-05-14 13:22:46 +02:00
Peter BelknerandMichael Niedermayer d62bf5d4e7 mp3enc: mux a XING header
The patch below provides exactly that to the MP3 muxer. A XING header
containing

   * the numer of frames,
   * the size, and
   * a TOC

is generated.

It's based on an idea by Anton Khirnov (restricted to the number of
frames) found at

   http://patches.ffmpeg.org/patch/1891/

The TOC is generated as found in lame's "VbrTag.c".

According to my tests the following reproduces the number of frames, the
size and the TOC in "c.mp3" from "b.mp3" (except a shift due to shorter
XING header generated by FFmpeg):

   lame -V2 a.wav b.mp3
   ffmpeg -i b.mp3 -acodec copy -y c.mp3
2011-05-07 03:27:38 +02:00
Peter BelknerandMichael Niedermayer 39e69d0b88 32bit libmp3lame support. 2011-04-19 13:25:05 +02:00
Peter BelknerandMichael Niedermayer 22fa406f38 Check avcodec_alloc_frame() failure.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-19 13:25:05 +02:00