~ubuntu-branches/ubuntu/quantal/libav/quantal-security

« back to all changes in this revision

Viewing changes to libavformat/dv.c

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2013-11-09 10:49:20 UTC
  • mfrom: (1.2.18)
  • Revision ID: package-import@ubuntu.com-20131109104920-9drwimuneeio3f7y
Tags: 6:0.8.9-0ubuntu0.12.10.1
Update to 0.8.9 to fix multiple security issues (LP: #1249621)

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
 * 3. Audio is always returned as 16bit linear samples: 12bit nonlinear samples
103
103
 *    are converted into 16bit linear ones.
104
104
 */
105
 
static int dv_extract_audio(uint8_t* frame, uint8_t* ppcm[4],
 
105
static int dv_extract_audio(uint8_t *frame, uint8_t **ppcm,
106
106
                            const DVprofile *sys)
107
107
{
108
108
    int size, chan, i, j, d, of, smpls, freq, quant, half_ch;
335
335
                      uint8_t* buf, int buf_size)
336
336
{
337
337
    int size, i;
338
 
    uint8_t *ppcm[4] = {0};
 
338
    uint8_t *ppcm[5] = { 0 };
339
339
 
340
340
    if (buf_size < DV_PROFILE_BYTES ||
341
341
        !(c->sys = avpriv_dv_frame_profile(c->sys, buf, buf_size)) ||