Opened 11 years ago

Closed 11 years ago

#2277 closed defect (fixed)

wrong comment in the alac.c

Reported by: chinshou Owned by:
Priority: minor Component: avcodec
Version: git-master Keywords: alac
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Attachments (1)

alac.patch (499 bytes ) - added by chinshou 11 years ago.

Download all attachments as: .zip

Change History (3)

by chinshou, 11 years ago

Attachment: alac.patch added

comment:1 by Carl Eugen Hoyos, 11 years ago

Keywords: alac added
Status: newopen

Please send patches to ffmpeg-devel, they receive more attention on the mailing list.

comment:2 by Michael Niedermayer, 11 years ago

Resolution: fixed
Status: openclosed

Patch applied

Note: See TracTickets for help on using tickets.