~siretart/xine-lib/ubuntu

« back to all changes in this revision

Viewing changes to src/libfaad/sbr_hfadj.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-12-15 13:13:45 UTC
  • mfrom: (0.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051215131345-8n4osv1j7fy9c1s1
* SECURITY UPDATE: Fix arbitrary code execution with crafted PNG images in
  embedded ffmpeg copy.
* src/libffmpeg/libavcodec/utils.c, avcodec_default_get_buffer(): Apply
  upstream patch to fix buffer overflow on decoding of small PIX_FMT_PAL8
  PNG files.
* References:
  CVE-2005-4048
  http://mplayerhq.hu/pipermail/ffmpeg-devel/2005-November/005333.html
  http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/
  utils.c.diff?r1=1.161&r2=1.162&cvsroot=FFMpeg

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
** Commercial non-GPL licensing of this software is possible.
23
23
** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
24
24
**
25
 
** $Id: sbr_hfadj.h,v 1.4 2004/12/03 01:15:30 tmattern Exp $
 
25
** $Id: sbr_hfadj.h,v 1.5 2005/10/29 23:57:07 tmmm Exp $
26
26
**/
27
27
 
28
28
#ifndef __SBR_HFADJ_H__
32
32
extern "C" {
33
33
#endif
34
34
 
35
 
typedef struct {
36
 
 
37
 
    real_t Q_mapped[64][5];
38
 
 
39
 
    uint8_t S_index_mapped[64][5];
40
 
    uint8_t S_mapped[64][5];
41
 
 
42
 
    real_t G_lim_boost[5][64];
43
 
    real_t Q_M_lim_boost[5][64];
44
 
    real_t S_M_boost[5][64];
45
 
 
 
35
typedef struct
 
36
{
 
37
    real_t G_lim_boost[MAX_L_E][MAX_M];
 
38
    real_t Q_M_lim_boost[MAX_L_E][MAX_M];
 
39
    real_t S_M_boost[MAX_L_E][MAX_M];
46
40
} sbr_hfadj_info;
47
41
 
48
42