[FFmpeg-devel] [PATCH] Fix g726 encoder

Rafaël Carré rcarre
Thu Sep 4 11:17:29 CEST 2008


The g726 encoder iterates over the output buffer instead of the provided
samples.

Use a big output buffer like VLC, and overwrite your memory as you see
fit.

To know the size of the input buffer, the minimal frame size (in samples
per channel) is needed, but doesn't exist in the code.

I just use the same size that the reference code: 256 samples (32 ms)

-- 
Rafa?l Carr? <rcarre at m2x.nl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: g726.diff
Type: text/x-patch
Size: 772 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080904/0c99f70b/attachment.bin>



More information about the ffmpeg-devel mailing list