[FFmpeg-trac] #2277(avcodec:new): wrong comment in the alac.c
FFmpeg
trac at avcodec.org
Mon Feb 18 10:16:57 CET 2013
#2277: wrong comment in the alac.c
----------------------------------+--------------------------------------
Reporter: chinshou | Type: defect
Status: new | Priority: minor
Component: avcodec | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
alac.c has wrong comment:
* 8bit initial history (14)
* 8bit rice param limit (10)
it should be
* 8bit initial history (10)
* 8bit rice param limit (14)
see following code alacenc.c for correct init parameter value
// Initialize default Rice parameters
s->rc.history_mult = 40;
s->rc.initial_history = 10;
s->rc.k_modifier = 14;
I have attached a patch for it
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2277>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list